vim: Fix compilation on Mac OS X 10.9

- The required macro MAC_OS_X_VERSION_MAX_ALLOWED requires
  AvailabilityMacros.h to be defined.