[PATCH OLK-6.6 6/8] tracing: Add missing helper functions in event pointer dereference check