demmt: -Wsign-compare fixes
demmt: -Wextra fixes
demmt: workaround strict-aliasing warning

This is a minimal "fix" to shut up gcc. Fixing it properly would
involve also fixing mmt/demmt for big-endian, so... meh.
And aliasing does not matter here.