Only create an NSXPCConnection if we have a listener endpoint. Calling initWithListenerEndpoint: and passing it nil results in a memory leak.

Update of pull request #1125 with feedback from Clobber.
https://github.com/OpenEmu/OpenEmu/pull/1125