Fix height calculation in pango setup layout code

If we get called with a frame height of 0 we should use whatever
height it takes. The MWF code calls us with both 0 and MaxInt to
get the required height.

Change-Id: I8129e32f88e7daad6126950a6a7b30c730ed0400