Fix infinite loop when mp3 files only contain one header or there is an error getting the next frame offset