qtdemux: move parsing of tkhd out of stsd entry loop