[PATCH v19 12/24] selftests/vm/pkeys: Introduce generic pkey abstractions