A consortium consisting of Warburg Pincus and KKR & Co. are in talks to acquire Gerresheimer AG, the German maker of packaging for drugs and cosmetics, according to people familiar with the matter.