Count memory used by Image.Image objects.

Imported from https://youtrack.roxen.com/issue/PIKE-204

Reported by @grubba

Image.Image does not have a gc_recurse callback, and thus Pike.count_memory() will not count the memory used to store the actual image.