audio/coreaudio.c: Factor out uses of AudioDeviceGet/SetProperty