Evidence of O+ ions energized by weak fast shocks in the mid-altitude cusp