Ion heating within the ramp of quasi-perpendicular subcritical collisionless shocks