avcodec/omx: Fix handling of fragmented buffers