vim: Fix compilation on Mac OS X 10.9

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

Closes #20831.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>