ffserver: refactor build_feed_streams()