Additional changes for Linux build

While building for Linux on cloudtop, a few more problems were
identified in the build. There were a couple of missing #include and
some incomplete struct definitions in btm_int_types.h. Also put
statslog.h behind an #ifdef OS_ANDROID.

Bug: 184975659
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: Ic2272a3acfa66259e692db280b48b4ddadff2171
diff --git a/system/gd/common/BUILD.gn b/system/gd/common/BUILD.gn
index 536bfb7..fb4dad9 100644
--- a/system/gd/common/BUILD.gn
+++ b/system/gd/common/BUILD.gn
@@ -17,7 +17,7 @@
 source_set("BluetoothCommonSources") {
   sources = [
     "init_flags.cc",
-    "metric_id_manager.cc"
+    "metric_id_manager.cc",
     "stop_watch.cc",
     "strings.cc",
   ]
@@ -25,6 +25,6 @@
   configs += [ "//bt/gd:gd_defaults" ]
   deps = [
     "//bt/gd:gd_default_deps",
-    "//bt/third_party/proto_logging/stats:libbt-platform-protos"
+    "//bt:libbt-platform-protos-lite",
   ]
 }