Fix translate_address().

Be aware, you're probably wondering why my last two attempts failed. Katsura is
an all-around learning project, from the PS1 down to binary/hexadecimal.