Learning an Expert Skill-Space for Replanning Dynamic Quadruped Locomotion over Obstacles