libmultipath: fix memory issue in path_latency prio