fix thumbnail function

It updates self.wand in case the original image
is too small. By self is passed by value, so any
changes are lost. Panic is a result.

Actually I don't see why it creates new wand.
Resizing works ok.