Audio resampling fixes

- Don't try to use float audio or extended channel layouts if the hardware does not support them. @kcat could you review this, please?
- Add channel layout resampling support to ffmpeg_decoder