HTTP: fix possible crash in vlc_http_res_get_redirect