bug #5576: fixing poor GIF image quality

This is a bugfix for reported bug #5576:
created (resized) GIF images will look much nicer if "imagecreatetruecolor" is used instead of "imagecreate". The resulting images still are valid GIFs with only 255 colors (as mentioned in PHP docs).