Fix incorrect seeking in y4m