Remove unused code when reading MP4 header

Found with Coverity (CID 1203406)