Cook County prosecutors’ new effort to reduce sentences for some longtime inmates — hailed by State’s Attorney Kim Foxx and other reform advocates as a way to right the wrongs of the tough-on-crime era — will have an uphill climb before some judges, if its first week in court is any indication. Associate Judge Stanley Sacks sat on the bench with a scowl Thursday as prosecutors presented their request to resentence Charles Miles, who was given a total of 25 years in two burglary cases. “I’ve been doing this for 30-plus years. I make up my own mind, not Gov. (J.B.) Pritzker, not Kimberly Foxx, e…