Dark energy survey year 1 results: Constraining baryonic physics in the Universe