Fix device disconnect detection for CoreAudio

These address structures are very confusing and I wish apple designed
better system APIs.
Merge branch 'master' of https://github.com/jp9000/obs-studio