Antoine Comas, Endocrinologue à Brive-la-gaillarde