avcodec/fic: Check that there is input left in fic_decode_block()