Deepfreeze essential parts of the encodings module. ### Description

This is a split off from #3582.

Deepfreeze essential parts of encodings module (encodings.\__init__, encodings.utf_8, and encodings.aliases), which is required during the Python bootstrap.

from pytest_pyodide import run_in_pyodide


@run_in_pyodide(packages=["pyyaml"])
def test_pyyaml(selenium):
    import yaml
    from yaml import CLoader as Loader

    document = """
    - Hesperiidae
    - Papilionidae
    - Apatelodidae
    - Epiplemidae
    """
    loaded = yaml.load(document, Loader=Loader)
    assert loaded == ["Hesperiidae", "Papilionidae", "Apatelodidae", "Epiplemidae"]

from pytest_pyodide import run_in_pyodide


@run_in_pyodide(packages=["pyyaml"])
def test_pyyaml(selenium):
    import yaml
    from yaml import CLoader as Loader

    document = """
    - Hesperiidae
    - Papilionidae
    - Apatelodidae
    - Epiplemidae
    """
    loaded = yaml.load(document, Loader=Loader)
    assert loaded == ["Hesperiidae", "Papilionidae", "Apatelodidae", "Epiplemidae"]
