Fix broken functional test.

In Lua, all math is floating point.  We need to coerce the result of a
division into a integer with the `{get,set}_height` and
`{get,set}_width` window_spec functional tests.
Merge pull request #1543 from jszakmeister/fix-broken-functional-tests

Fix broken functional test.