lavd/avfoundation: Add support for 24 and 32bit integer input.