South Africa's Faf du Plessis has been fined for "changing the condition of the ball" during the second Test against Pakistan.