Make imagemin run on the images in dist/img

Instead of running imagemin on generated/img it should run on dist/img since it is a dist task.

Also make sure the task runs last so the images have been copied over by the images:dist task.