[tz] [PROPOSED] Upgrade GCC_DEBUG_FLAGS to GCC 12