s3: utils: Don't directly manipulate errno inside strupper_m().