Add in some missing math type guards

These do nothing to the math results itself, rather they're there so
the JavaScript engine knows it can factor out other possible types to
know it's definitely an int32 math op (The | 0 is to enforce int32 and
literally does nothing if it's already int32, then the math after it
HAS TO be int32 no matter what… firefox picks up on this!).