htp_list: optimize htp_list_array_replace
htp_list: optimize htp_list_array_replace

Avoiding useless loop in htp_list_array_replace.

Going from 7 to 6 seconds on fuzzing corpus

OISF/libhtp,OISF/libhtp,OISF/libhtp,OISF/libhtp,OISF/libhtp,OISF/libhtp,OISF/libhtp