[PATCH v6 1/1] urlmon: Pass correct parameter to realloc and simplify code (Coverity)