cmake: do not print used method (EVENT_SHOW_METHOD) while running tests autotools don't, plus this will make CI logs cleaner (cherry picked from commit f8a6f12712e775720b36e0c4375a5fd6870bb737)