ao_coreaudio: set channel layout based on hardware query

this is a wip