[PATCH 6.1 63/83] tracing: Add missing helper functions in event pointer dereference check