libwinpr-utils: fix bug in ListDictionary