CoreAudio: better handling of device sample rates changing externally.