Metal abundances in the cool cores of galaxy clusters