emacs: add --japanese IME option

Closes #23019.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>