MPEG4Writer: Fix unsigned integer overflow

When the ELST entry is added, the firstSampleOffsetTicks is subtracted
from the track header duration ticks. The subtraction could result in an
overflow if track header duration is lesser than the first sample
offset.

Bug: 345356376
Test: mpeg4_writer_fuzzer
Change-Id: Ia5bbcf3df301092bf892927e54972ee716af93f9
1 file changed