Fix build with DIAGNOSTIC/CALLOUT_PROFILING options turned on.

Reported by:	kib, David Wolfskill <david at catwhisker dot org>
Pointy-hat to:	davide