### Summary

I'm trying to package ansible version 2.14.4 for OpenIndiana and when I run tests some TestSELinuxMU tests fails.  Please note that OpenIndiana (a Solaris clone) have no selinux support.

### Issue Type

Bug Report

### Component Name

test_selinux.py

### Ansible Version

```console
$ ansible --version
ansible [core 2.14.4]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/marcel/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.9/vendor-packages/ansible
  ansible collection location = /home/marcel/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.9.16 (main, Feb 19 2023, 15:42:40) [GCC 10.4.0] (/usr/bin/python3.9)
  jinja version = 3.0.3
  libyaml = True
$
```


### Configuration

```console
NA.  Tests are run directly in the source directory after the source tarball is unpacked.
```


### OS / Environment

OpenIndiana

### Steps to Reproduce

```
$ bin/ansible-test units --python 3.9 --python-interpreter /usr/bin/python3.9 --local --color no --verbose
```


### Expected Results

All tests pass; selinux tests either pass, or are skipped.

### Actual Results

```console
Following tests fails:

FAILED test/units/module_utils/basic/test_selinux.py::TestSELinuxMU::test_selinux_mls_enabled
FAILED test/units/module_utils/basic/test_selinux.py::TestSELinuxMU::test_selinux_context
FAILED test/units/module_utils/basic/test_selinux.py::TestSELinuxMU::test_selinux_enabled
FAILED test/units/module_utils/basic/test_selinux.py::TestSELinuxMU::test_set_context_if_different
FAILED test/units/module_utils/basic/test_selinux.py::TestSELinuxMU::test_selinux_default_context
```

All failures are similar:
```
_________________ TestSELinuxMU.test_set_context_if_different __________________
[gw0] sunos5 -- Python 3.9.16 /usr/bin/python3.9
thing = <module 'ansible.module_utils.compat' from '/tmp/ansible-test-0qd9w7ab/ansible/module_utils/compat/__init__.py'>
comp = 'selinux', import_path = 'ansible.module_utils.compat.selinux'

    def _dot_lookup(thing, comp, import_path):
        try:
>           return getattr(thing, comp)
E           AttributeError: module 'ansible.module_utils.compat' has no attribute 'selinux'

/usr/lib/python3.9/unittest/mock.py:1226: AttributeError

During handling of the above exception, another exception occurred:

    from __future__ import (absolute_import, division, print_function)
    __metaclass__ = type

    import os
    import sys

    from ansible.module_utils.common.text.converters import to_native, to_bytes
    from ctypes import CDLL, c_char_p, c_int, byref, POINTER, get_errno

    try:
>       _selinux_lib = CDLL('libselinux.so.1', use_errno=True)

/tmp/ansible-test-0qd9w7ab/ansible/module_utils/compat/selinux.py:14:

...
...
```


### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
from __future__ import absolute_import, division, print_function
__metaclass__ = type
import errno
import json
import pytest
from units.compat.mock import mock_open, patch
from ansible.module_utils import basic
from ansible.module_utils.common.text.converters import to_bytes
from ansible.module_utils.six.moves import builtins
@pytest.fixture
def no_args_module_exec():