avcodec/jvdec: Check available input space before decode8x8()