[PATCH 5.15 163/356] kselftest: arm64: Add a null pointer check