Isospin mass splittings of baryons in potential models