Add GNUTERM variable support

Permits reading a user's $GNUTERM environment variable to,
for example, use the wxt terminal by default instead of x11.