audiotestsrc: fix rounding errors that might cause segments to be one sample too...