avformat/http: Fix Out-of-Bounds access in process_line()