bpf: Refactor syscall loop in _gen_bpf_arch()
bpf: Refactor syscall loop in _gen_bpf_arch()

This commit splits out some init code and a lengthy
for-loop in _gen_bpf_arch() into its own function -
_gen_bpf_syscalls().

Signed-off-by: Tom Hromatka <96b9c1f2c09b98d7a09b4688fc637f1494d8e182@oracle.com>
[PM: fixed style problems found by check-syntax]
Signed-off-by: Paul Moore <a027184a55211cd23e3f3094f1fdc728df5e0500@paul-moore.com>

seccomp/libseccomp,seccomp/libseccomp,seccomp/libseccomp