HDFS-16667. Use malloc for buffer allocation in uriparser2 (#4576)

* Windows doesn't support variables for specifying
  the array size.
* This PR uses malloc to fix this issue.
1 file changed