gettext: Add Emacs support option

Closes #20313.

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