mxfdec: Fix some buffer overreads caused by the misuse of AVPacket related functions.