gdiplus: Implement GdipImageGetFrameCount.