[PATCH v16 16/23] selftests/vm/pkeys: Improve checks to determine pkey support