alsa: fix minor sampling rate deviations before adjusting the buffer size