Pakistan ready to help Afghanistan: PM