lavf/wavdec: Fix seeking in files with unaligned offsets