Optoacoustic investigation of the mechanisms in the infrared optogalvanic effect