ticket:10203: Fixed memory leaks in getIDForWindowsID.

git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk/source@33818 251d0590-4201-4cf1-90de-194747b24ca1