pulse: Fix locking in get_max_channel_count (from BMO 996770).
opensl: Tweak sample rate restrictions on stream_init (from BMO 992854).
audiounit: Limit active streams to 16 on OS X < 10.7 (from BMO 847903).