Support For Signed Numbers in MGFX

This adds support for signed numbers in both render states and sampler states in an MGFX file.

It is a fix for #1653.