lavd/avfoundation: Support user selected pixel formats and pixel format autoselection.