Add the WriteCompilerDetectionHeader module.

Provide a function to write a portable header to detect compiler
features.
Merge topic 'WriteCompilerDetectionHeader-module' into next

6bc4cffe Add the WriteCompilerDetectionHeader module.