Potato Gratin With Rosemary