[PATCH] selftests/ftrace: fix dynamic_events dependency check