The equivalent of 54c79e09 for right shifts. Github: related to #197 "& and | in function return expressions cause validation failures"