lavc: Add flag to allow profile mismatch with hardware decoding