avformat/movenc-test: Fix integer overflows