libavformat: Handle error return from ff_listen_bind