runtime: find_first_portal to find the first portal in front of source along the corridor direction.