tp: migrate all SQL to use CREATE PERFETTO FUNCTION syntax

Also ban any further uses of CREATE_FUNCTION in metrics/stdlib.

Change-Id: I4bc40babafbf5f805a47edeacef988b77534e504
diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn
index af6438a..19c8029 100644
--- a/gn/standalone/BUILD.gn
+++ b/gn/standalone/BUILD.gn
@@ -261,9 +261,7 @@
   } else if (current_cpu == "riscv64") {
     if (!is_clang) {
       # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338
-      libs += [
-        "atomic",
-      ]
+      libs += [ "atomic" ]
     }
   } else if (current_cpu == "x86") {
     asmflags += [ "-m32" ]