don't crash on malformatted TIFF file

In case a file was alraedy rejected by GraphicsMagick, it's not a good
idea to try open it with our handmade imageio routines like TIFFOpen().
Let's take GraphicsMagick as a last resort if available.