Thiago Motta signs PSG extension