ao_coreaudio: more cleanups in init_digital
ao_coreaudio: extract methods to lock/unlock device for digital output