CMakePresets: Make error generators proper functions And rename cmCMakePresetErrors to cmCMakePresetsErrors.