arch: fix inconsistent types in WORD2INT