Use (Width|Height)_Type for modeline sizes

Saves us a lot of conversions and explicit contracts.

Change-Id: I32c06ca87b18c25e3c519fa608c4b9b36dbc0449
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/26849
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/common/hw-gfx-gma-pch-transcoder.adb b/common/hw-gfx-gma-pch-transcoder.adb
index 29fbaf6..eb1715f 100644
--- a/common/hw-gfx-gma-pch-transcoder.adb
+++ b/common/hw-gfx-gma-pch-transcoder.adb
@@ -153,7 +153,7 @@
    is
       Mode : constant Mode_Type := Port_Cfg.Mode;
 
-      function Encode (LSW, MSW : Pos16) return Word32 is
+      function Encode (LSW, MSW : Pos32) return Word32 is
       begin
          return (Word32 (LSW) - 1) or ((Word32 (MSW) - 1) * 2 ** 16);
       end Encode;