[PATCH v2 OLK-6.6 5/9] tracing: Add missing helper functions in event pointer dereference check