Another attempt at suppressing warning about JAWT_GetAWT deprecation

Now instead of the regex that mysteriously doesn't work, I use a pragma guarded by a compiler, platform, and version check.  I do this only against the 10.8 or later SDK since I figure that means the compiler is new enough to support the pragma.

Change-Id: Iec92d7e96c8c5b2b07e03a5c3c4fd68ca6678045
Merge topic 'java-deprecation-warning' into master

eb2ce79b Another attempt at suppressing warning about JAWT_GetAWT deprecation