[cage] fix --debugging and some of the latest SHIM/UNUSED decl

make headerizer and --debugging tested.
TODO: UNUSED should be switched to SHIM in the decl.