mxfdemux: Add various missing bounds checks, NULL checks and integer overflow protection for error cases