Revert clang-format changes to templates

They havve the same file extansion as cpp/h files, but
clang-format would mess up the template macros.
2 jobs for !53 with work/clang_format in 17 minutes and 40 seconds (queued for 246 minutes and 38 seconds)
latest detached
Status Job ID Name Coverage
failed build_clazy_clang_tidy #96595


passed linux kf5-qt5 qt5.15 #96594


Name Stage Failure
build_clazy_clang_tidy Build
make[2]: *** [src/shared/CMakeFiles/akonadi_shared.dir/build.make:121: src/shared/CMakeFiles/akonadi_shared.dir/akremotelog.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2655: src/shared/CMakeFiles/akonadi_shared.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/clang-tidy-report.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1