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