regtest: Fix png diff generation with python-pil pillow fork

Use from PIL import Image instead of just import Image, since pillow
only doesn't support import Image without using PIL.Image.