ffserver: improve error feedback in case of write_header() failure