test/event: fix build for timer adapter