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
Change-Id: Ia0b8e6e02daca7e9b69f337a494d88eb1beffc22
1 file changed
tree: 75401b3410789ae75b92a5512217120b6fc0478e
  1. staticlibs/