ctest_configure: move command construction into separate function A large portion of cmCTestConfigureCommand::ExecuteCommand() deals with constructing the configure command in the case when `CTEST_CONFIGURE_COMMAND` is not specified. Move this logic into its own separate function. This improves readability and will make it easier to review subsequent changes to this class.