Update GeneratePaletteTask.groovy

Comment out checkPreconditions. Gradle skips a task based on its inputs and outputs, no need to have another custom check and raise exception.