Fix for reusing memory when recreating an image.

svn path=/trunk/boost/gil/; revision=84040