cmake: change include guard

cmake-format will indent the body of the include guard. Use a
style which does not put the body inside the guard.
https://cmake.org/Wiki/CMake_Performance_Tips#Use_an_include_guard

Rename cbuild/cmake/aom_config.c.cmake to .template to simplify
upcoming formatting.

Change-Id: I70724683d5e581f1b4f69418ed185e0b92df27c3
diff --git a/aom_dsp/aom_dsp.cmake b/aom_dsp/aom_dsp.cmake
index 4a19d1e..51fe930 100644
--- a/aom_dsp/aom_dsp.cmake
+++ b/aom_dsp/aom_dsp.cmake
@@ -8,7 +8,9 @@
 ## Media Patent License 1.0 was not distributed with this source code in the
 ## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 ##
-if (NOT AOM_AOM_DSP_AOM_DSP_CMAKE_)
+if (AOM_AOM_DSP_AOM_DSP_CMAKE_)
+  return()
+endif ()  # AOM_AOM_DSP_AOM_DSP_CMAKE_
 set(AOM_AOM_DSP_AOM_DSP_CMAKE_ 1)
 
 set(AOM_DSP_COMMON_SOURCES
@@ -472,5 +474,3 @@
   # $AOM_LIB_TARGETS.
   set(AOM_LIB_TARGETS ${AOM_LIB_TARGETS} PARENT_SCOPE)
 endfunction ()
-
-endif ()  # AOM_AOM_DSP_AOM_DSP_CMAKE_