[PATCH 5.15 046/168] tracing: Add missing helper functions in event pointer dereference check