Constraining the Sommerfeld enhancement with Cherenkov telescope observations of dwarf galaxies