Change bpf_alignchecker structs to global variables
Change bpf_alignchecker structs to global variables

This is preparation work to convert alignchecker from
DWARF to BTF so alignchecker could check C and Go
structs alignment based on BTF info.

BTF generated by the llvm compiler with -target bpf may contain
less types than pahole -JV types. The reason is -target bpf only
generates BTF with global variables, functions definitions and
CO-RE related types, some types inside the program will not be
generated for BTF. This is to only have needed types for bpf
programs so far. For detailed discussion, see
https://github.com/cilium/cilium/issues/20692

Suggested-by: Yonghong Song <e76892bbe783db2f627de1232e139db4de43da60@fb.com>
Signed-off-by: Vincent Li <01b57b7e95ca95e60832491192e54abc20ed26d5@f5.com>
Co-authored-by: Timo Beckers <98c2d5a1e48c998bd9ba9dbc53d6857beae1c9bd@isovalent.com>

cilium/cilium,cilium/cilium,cilium/cilium,cilium/cilium,cilium/cilium