[PATCH 5.10 058/286] powerpc/powernv: Add a null pointer check in opal_event_init()