[EC] Constify internal EC_KEY pointer usage