[PATCH 5.10 116/290] kselftest: arm64: Add a null pointer check