On Time Optimization of Centroidal Momentum Dynamics