sim: events: clean up trace casts Don't blindly cast every possible type to (long). Change to the right printf format specifier whether it be a 64-bit type or a pointer.