Make image_optim development group only

We don't need this Gem to compile assets, it's for convenience only.

This should fix the failing builds caused by #479.