libfreerdp-client: fix memory leaks in settings accessors