should use StgWord rather than unsigned int for Word size

Signed-off-by: Carter Tazio Schonwald <carter.schonwald@gmail.com>