Feature gate trace_macros.

Fixes #11631