### Summary

I'm seeing some breakage in collections caused (very likely) by #73703:
1. `AttributeError: 'AnsibleModule' object has no attribute '_check_type_dict'` (community.general, infoblox.nios_modules);
2. `ImportError: cannot import name 'handle_aliases'` (from `ansible.module_utils.common.parameters`) (community.crypto, community.sops).

While 1. could be considered 'own fault' because it is a private API, 2. looks like a bug, since that's a break in a public interface.

### Issue Type

Bug Report

### Component Name

core

### Ansible Version

devel

### Configuration

.

### OS / Environment

.

### Steps to Reproduce

.

### Expected Results

.

### Actual Results

.
"""Process aliases from an argument_spec including warnings and deprecations.
    Modify ``parameters`` by adding a new key for each alias with the supplied
    value from ``parameters``.
    If a list is provided to the alias_warnings parameter, it will be filled with tuples
    (option, alias) in every case where both an option and its alias are specified.
    If a list is provided to alias_deprecations, it will be populated with dictionaries,
    each containing deprecation information for each alias found in argument_spec.
    :param argument_spec: Dictionary of parameters, their type, and valid values.
    :type argument_spec: dict
    :param parameters: Dictionary of parameters.
    :type parameters: dict
    :param alias_warnings:
    :type alias_warnings: list
    :param alias_deprecations:
    :type alias_deprecations: list
    """
    aliases_results = {}  
    for (k, v) in argument_spec.items():