Contribution of individual interfaces in the MgO/Co/Pd trilayer to perpendicular magnetic anisotropy upon annealing