[AC21.5] Use unsigned EMACS_INTs with bit shifting