Fixes walk aborting prematurely

when we still have enough TUs but destination is tile after closed ufo
door.
Merge pull request #770 from cfailde/doorcost

Fixes walk aborting prematurely