### Godot version

v3.6.beta.custom_build [42083f3a6]

### System information

Android 11, MediaTek Helio P35 (32bit), PowerVR Rogue GE8320, also tested on: Android 10, Snapdragon 636, Adreno 506,

### Issue description

When trying to use the microphone input in an AudioStreamPlayer node on the godot android editor, unexpectedly crashes after a few seconds regardless of whether it is a new project or not. 
If the initial scene has an AudioStreamPlayer node configured with an AudioStreamMicrophone it will continuously close, not allowing to start.

### Steps to reproduce

1: Create a new project or use a existent one.
2: Press "Project" and "Project Settings"
3: Go to "Audio" and activate "Enable Audio Input"
4: After restarting, create an AudioStreamPlayer Node
5: On Stream, add a new AudioStreamMicrophone

Wait a few seconds until it crashes

### Minimal reproduction project

Use a New Project
if (OS::get_singleton()->request_permission("RECORD_AUDIO")) {
		return init_input_device();
	}
	return OK;
}
Error AudioDriverOpenSL::input_stop() {
	SLuint32 state;
	SLresult res = (*recordItf)->GetRecordState(recordItf, &state);
	ERR_FAIL_COND_V(res != SL_RESULT_SUCCESS, ERR_CANT_OPEN);
	if (state != SL_RECORDSTATE_STOPPED) {
		res = (*recordItf)->SetRecordState(recordItf, SL_RECORDSTATE_STOPPED);
		ERR_FAIL_COND_V(res != SL_RESULT_SUCCESS, ERR_CANT_OPEN);
		res = (*recordBufferQueueItf)->Clear(recordBufferQueueItf);
		ERR_FAIL_COND_V(res != SL_RESULT_SUCCESS, ERR_CANT_OPEN);
	}
	return OK;
}
int AudioDriverOpenSL::get_mix_rate() const {
	return 44100; 
}
AudioDriver::SpeakerMode AudioDriverOpenSL::get_speaker_mode() const {