Plasma stopping-power measurements reveal transition from non-degenerate to degenerate plasmas