Metamorph TIFF: fix compile errors