mjpeg_decode_dc: check code before using it in get_xbits()