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