How to fix user avatar?

Oops sorry about this one. I’ve back-ported compatibility for ImageMagick 7 back to stable.

https://github.com/discourse/discourse/commit/5778c33ee79da5b4fec377323e847a59b9b9a863