Export: Specify a policy range in exported files
This should avoid policy-related warnings coming from the generated files, but in a way that doesn't increase the minimum CMake version for consumers.
Essentially implements the recommendation mentioned in #20561 (comment 729995)