base: normalize uid_t and pid_t across the codebase

We ended up in a state where different parts of the codebase
defined uid_t and pid_t (on Windows, where it's missing).
That was confusing. Instead this CL introduce a sys_types.h
header that takes care of that, without leaking further headers.
Also fixing the pid_t definition on Windows, which is supposed to
be a signed type.

Bug: 175152326
Change-Id: I7b95d7965548702185bdc49ec2b9ac2ad4abd5cd
diff --git a/BUILD b/BUILD
index 723d6a4..3be7c1c 100644
--- a/BUILD
+++ b/BUILD
@@ -372,6 +372,7 @@
         "include/perfetto/ext/base/string_view.h",
         "include/perfetto/ext/base/string_writer.h",
         "include/perfetto/ext/base/subprocess.h",
+        "include/perfetto/ext/base/sys_types.h",
         "include/perfetto/ext/base/temp_file.h",
         "include/perfetto/ext/base/thread_annotations.h",
         "include/perfetto/ext/base/thread_checker.h",