rtpdec_jpeg: Coalesce redundant error checks