[PATCH openEuler-5.10 49/56] habanalabs: add validity check for event ID received from F/W