Avoid undefined behaviour within the debug macros Even when the macro itself would overflow. Reviewed by Mark Harris