fix for compiler complaint.

Included new bugfix code into trace ifdef block to prevent compiler error if trace not set.

	modified:   simavr/sim/sim_core.c