MFC r355412, r355420: Wrap g_trace() into a macro to avoid unneeded calls.
In most cases with debug disabled this function does nothing, but argument
passing and the call still cost measurable time due to cache misses, etc.
While there, define G_F_FOOTSHOOTING instead of numeric constants.