### Summary

lookup function fails - lookup('ansible.builtin.ini', ...)

Ansible ini is using the function 'readfp'  on Configmap this function was [removed ](https://issues.apache.org/jira/browse/SVN-4899#:~:text=Description,3.12%20(due%20October%202023).) on python 3.12


### Issue Type

Bug Report

### Component Name

ansible.builtin.ini

### Ansible Version

```console
$ ansible --version
ansible [core 2.15.3]
  config file = /home/liss/webnews/pyramid-rt4/ansible/ansible.cfg
  configured module search path = ['/home/liss/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/liss/.local/lib/python3.12/site-packages/ansible
  ansible collection location = /home/liss/webnews/pyramid-rt4/ansible/collections
  executable location = /home/liss/.local/bin/ansible
  python version = 3.12.0rc1 (main, Aug  6 2023, 17:56:34) [GCC 9.4.0] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True
```


### Configuration

```console
# if using a version older than ansible-core 2.12 you should omit the '-t all'
$ ansible-config dump --only-changed -t all
```


### OS / Environment

"Ubuntu 20.04.6 LTS" on WSL

### Steps to Reproduce

- name:
  set_fact:
    planning_service_monitor_consul_token: "{{ lookup('ansible.builtin.ini', 'consul_token', file='/tmp/pyr_tmp', section='Consul', allow_no_value=True) }}"


### Expected Results

Success

### Actual Results

```console
fatal: [localhost]: FAILED! =>
  msg: 'An unhandled exception occurred while running the lookup plugin ''ansible.builtin.ini''. Error was a <class ''AttributeError''>, original message: ''ConfigParser'' object has no attribute ''readfp''. ''ConfigParser'' object has no attribute ''readfp'''
```


### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = """
    name: ini
    author: Yannig Perre (!UNKNOWN) <yannig.perre(at)gmail.com>
    version_added: "2.0"
    short_description: read data from an ini file
    description:
      - "The ini lookup reads the contents of a file in INI format C(key1=value1).
        This plugin retrieves the value on the right side after the equal sign C('=') of a given section C([section])."
      - "You can also read a property file which - in this case - does not contain section."
    options:
      _terms:
        description: The key(s) to look up.
        required: True
      type:
        description: Type of the file. 'properties' refers to the Java properties files.
        default: 'ini'
        choices: ['ini', 'properties']
      file:
        description: Name of the file to load.
        default: 'ansible.ini'
      section:
        default: global
        description: Section where to lookup the key.