Fixed outstanding formatting errors in GDAL Image Decoder.
Minor tweaks to sample code to pass the compiler warnings.

Removed more whitespace and replaced uchar with unsigned char to make buildbot happy.

Fixed downcasting that Windows really does not like.

Fixed indentation offset in IMREAD_LOAD_GDAL definition.