Check more completely for invalid pix_fmts in planarRgb16ToRgb16Wrapper()