tif: use correct type for planar config

Fix import of TIF generated by DT itself, enfuse, align_stack_image
for example
Merge pull request #516 from edgomez/tif_import_fix

tif: use correct type for planar config