The filltypespersp gm is not doing perspective in fixed point. This change fixes that, although there may be a cleaner way to do so.
Cleans up some ifdefs and makes it more obvious what to do with perspective bits of the matrix. Also makes gm work in fixed point.
Committed revision 2435.