Flow-to-Friction Transition in Simulated Calcite Gouge