Fix H264 decoding artifacts when a frame has fewer than 3 bytes of padding at the end