libathemecore/account: fix branching behavior

This will only show up about once a blue moon if you are lucky, but GCC
and Clang's optimizer is really good about introducing undefined
behavior with things like this, so it's better safe than sorry.