Effect of dynamic melting on acoustic velocities in a partially molten peridotite