common: trace: bring back const Event&

Fixes #9