Fix a crash when res_xmpp is configured using a username without a domain.

(closes issue ASTERISK-21156)
Reported by: amsoft2001


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/11@382923 f38db490-d61c-443f-a65b-d21fe96a405b