Blackfin: unify rotary encoder bitmasks