Role of static and dynamic pairing correlations in the superdeformed band of 152Dy