reg.exe: Fix incorrect usage of CompareString in get_rootkey.