clang-tidy: rename mako file extesnsion

Renamed mako.cpp to cpp.mako to prevent clang-tidy from running
checks on this file. Also updated build scripts to accommodate
the new file extension.

Change-Id: I2ad35ec653cb3ebf684ddd0ba697a966fe7ed540
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/scripts/inventory-sensor.py b/scripts/inventory-sensor.py
index be5cae6..8c7bc19 100755
--- a/scripts/inventory-sensor.py
+++ b/scripts/inventory-sensor.py
@@ -17,7 +17,7 @@
         # Render the mako template
 
         t = Template(
-            filename=os.path.join(script_dir, "inventorysensor.mako.cpp")
+            filename=os.path.join(script_dir, "inventorysensor.cpp.mako")
         )
 
         output_cpp = os.path.join(output_dir, "inventory-sensor-gen.cpp")