ao/wasapi: keep bufferPeriod in sync on retry

Without this, the retry will fail if they are not equal or
bufferPeriod is zero.