[CMake] Make sure add_compiler_rt_resource_file doesn't do unnecessary work