Make cmake function naming consistent.

Also converts the compiler test macros to functions.

BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76

Change-Id: I66d8e40af4418ab80f7bd182b92aa75f76c665f2
2 files changed