signals: remove 'handler' parameter to tracehook functions