rework libc++ patch to use AvailabilityMacros.h instead of Availability.h

AvailabilityMacros.h was introduced in 10.2, Availability is only available in
10.5+ - this increases backwards compatibility.