Support uint32 TIFF

Patch taken from http://mail.python.org/pipermail/image-sig/2010-January/006064.html