Structure-from-Motion Hazard Detection for Autonomous Planetary Landings