[PATCH] windowscodecs: tiffformat: Fix TiffFrameDecode_GetResolution, add test