idn_to_ascii is only used if available

refs https://github.com/owncloud/core/pull/7861#issuecomment-38628129

@bantu @PVince81 THX