test: fix APILevelIsSupported
test: fix APILevelIsSupported

Functions seccomp_api_get(3) and seccomp_api_set(3) appeared in
libseccomp 2.4.0, not 2.3.3 like the code assumed.

This fixes TestGetAPILevel failure with libseccomp 2.3.3.

Signed-off-by: Kir Kolyshkin <3a017b8ddb3f9cf3e4a59978b004111bdeb97f08@gmail.com>
Acked-by: Tom Hromatka <96b9c1f2c09b98d7a09b4688fc637f1494d8e182@oracle.com>
Signed-off-by: Paul Moore <a027184a55211cd23e3f3094f1fdc728df5e0500@paul-moore.com>

seccomp/libseccomp-golang