try to fix more errors with src/sim/common/callback.c

(still broken)

Change-Id: Ie59bb28c4d079418e39dafbac66a6179b8f0bd0b