editors/wxhexeditor: fix the port's build on ARM
Mixing different types in ternary expression is a bad idea.
PR: 264007