ra144enc: Fix assignments in if()