[PATCH 5.15 075/374] powerpc/powernv: Add a null pointer check in opal_event_init()