[runtime] Fix debug print_object on integers.

This lets debug-message and other things work with integers correctly.

Thanks to Dustin Voss for the kick in the pants for this fix.