[PATCH 4.19 035/148] powerpc/powernv: Add a null pointer check in opal_event_init()