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

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