A Hierarchical Framework for Humanoid Locomotion with Supernumerary Limbs