file(GENERATE): Only write the file if content is different.

Introduce policy CMP0053 to control this behavior.
Merge topic 'file-generate-if-different' into next

c6abd4a2 file(GENERATE): Only write the file if content is different.