src/io/source_sndfile.c: fix resampled position in _seek, improve test for non integer ratios