Hafeez to miss 3rd Test in Pallekele