Update ~all flatbuffer rules to static_flatbuffer rules

Don't update things that use unions or circular dependencies.

Used buildozer to make most changes; didn't document the precise steps,
but the approximate steps were:
* Alter the load statements to use the new rule.
* Make all flatbuffer_cc_library rules:
  * No longer specify gen_reflections.
  * Move all includes attributes to use deps (including stripping the
    _includes prefix off of the items in the includes list).
* Rename all flatbuffer_cc_library rules to static_flatbuffer rules.
* Manually fix the spyglass flatbuffer_py_library target that depended
  directly on some outputs of the flatbuffer_cc_library macro.
* Manually undo anything that can't build with the new rules (should
  just be the json_to_flatbuffer target, web_proxy_fbs, and one of the
  flatbuffers used to test the static flatbuffers codegen itself).
* Run the cleanup to get rid of unused load statements.

Change-Id: Ie37a13585228847b19177dc86a9aa603ad90e890
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/y2023_bot4/BUILD b/y2023_bot4/BUILD
index 1a4ed64..24a7c73 100644
--- a/y2023_bot4/BUILD
+++ b/y2023_bot4/BUILD
@@ -1,4 +1,4 @@
-load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")
+load("//aos/flatbuffers:generate.bzl", "static_flatbuffer")
 load("//frc971:downloader.bzl", "robot_downloader")
 load("//aos:config.bzl", "aos_config")
 load("//aos/util:config_validator_macro.bzl", "config_validator_test")
@@ -80,17 +80,15 @@
     ],
 )
 
-flatbuffer_cc_library(
+static_flatbuffer(
     name = "drivetrain_position_fbs",
     srcs = ["drivetrain_position.fbs"],
-    gen_reflections = 1,
     deps = ["//frc971/control_loops:control_loops_fbs"],
 )
 
-flatbuffer_cc_library(
+static_flatbuffer(
     name = "drivetrain_can_position_fbs",
     srcs = ["drivetrain_can_position.fbs"],
-    gen_reflections = 1,
     deps = ["//frc971/control_loops:can_falcon_fbs"],
 )