rustc: Feature gate `log_syntax!`. Closes #11602