auhal: replace deprecated CarbonCore calls introduced in Component Manager 3.0 back in 1994 with their modern counterparts

requires 10.6 or later
auhal: fix a few compilation warnings
auhal: remove Carbon dependency
configure: no need to link the Mac UI against OpenGL or even AGL