ao_coreaudio: use pointers to layout