Thiago Motta ready to leave Inter