clang-tidy: change filenames to [ch]pp.mako

We have a tendency to name mako files as "foo.type.mako" rather than
"foo.mako.type" because too many tools tend to identify the file as a
"type file" rather than a "mako file".  Right now, meson is somehow
picking up these files as part of the `clang-tidy` invocation and
puking on it.  Rename the files both to fit convention and to avoid
the issues.

Change-Id: I2ec39f2dcd41ef939ec15702addb0912054ad3fa
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/power-sequencer/gen-ucd90160-defs.py b/power-sequencer/gen-ucd90160-defs.py
index 66bbb9b..1cc2274 100755
--- a/power-sequencer/gen-ucd90160-defs.py
+++ b/power-sequencer/gen-ucd90160-defs.py
@@ -44,7 +44,7 @@
     output_file = os.path.join(args.output_dir, "ucd90160_defs.cpp")
 
     mylookup = TemplateLookup(directories=templates_dir.split())
-    mytemplate = mylookup.get_template("ucd90160_defs.mako.cpp")
+    mytemplate = mylookup.get_template("ucd90160_defs.cpp.mako")
 
     with open(output_file, "w") as output:
         output.write(mytemplate.render(ucd90160s=ucd90160_data))