APOGEE chemical abundances of globular cluster giants in the inner Galaxy