Fixes windows ce build

The windows file seems to handle ce too in the new
version of libtiff. Only the <sys/types> include
and the not defined error handle were a problem.
The error handler ifndef _WIN32_WCE can be removed
as Qt builds libtiff without the gui integration.

Change-Id: Idb025f64fc31d580566d8ce248137e57d01e96b2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I89d0db8f8928e8763b3a9e6fa9ae1cda6e18a76f