gdk: Subtract base size when checking aspect ratio
According to the ICCCM spec [1], one should subtract the base size from the window size before checking that the aspect ratio falls in range.
This change fixes shrinking Firefox Picture-in-Picture windows when running KDE Plasma (with KWin as the window manager).