Fix soundcard being acquired too early

Thibault Lemaire
2022-03-15T14:11:05Z

5.1: https://gitlab.linphone.org/BC/public/linphone-sdk/-/merge_requests/2684