bpf_headers: add kernel bitness utility functions to KernelUtils

These were copied from
system/core/libsysutils/src/NetlinkEvent.cpp and the following changes
were applied:
- Mark isUserspace64bit as constexpr.
- Added __unused annotations
- Fixed a typo (s/meaningul/meaningful)

Test: TH
(cherry picked from https://android-review.googlesource.com/q/commit:0689a83279c86e6abfba92955ea402304201d4ac)
Merged-In: Ia0b8e6e02daca7e9b69f337a494d88eb1beffc22
Change-Id: Ia0b8e6e02daca7e9b69f337a494d88eb1beffc22
Bug: 283523051
1 file changed
tree: ece7f566cb42cb17847e1bd9ffaeaeb34fa9ad05
  1. client-libs/
  2. common/
  3. .gitignore
  4. OWNERS
  5. PREUPLOAD.cfg
  6. TEST_MAPPING