Fix signedness/unsignedness-related compiler warnings and make default build flags match Hammer debug build