Introduce gimple_debug and use it in a few places