TestCXXAcceptsFlag: Update documentation (#14657)

Document this module as deprecated and link to CheckCXXCompilerFlag.
Fix cut-n-paste-o and format macro signature.
Merge topic 'doc-TestCXXAcceptsFlag-cleanup' into next

95c705a TestCXXAcceptsFlag: Update documentation (#14657)