Only clear intermap teleport flag when the destination name is empty

This fixes a bug where the player would get stuck on maps/spawn.txt when
trying to load a game with an invalid map.