Tests: Simplify RunCMake.file-CHMOD cases

Run each case as a `cmake -P` script instead of a full project.
The caller handles build directory removal and creation.
15 files changed