avcodec/mlpdec: Check that there is enough data for headers