windows: Use ptid from regcache in register fetch/store