ffaudio: Replace deprecated function and use correct way to free a frame.