Pope Francis says the world "thirsts for peace" after praying with faith leaders for an end to religious fanaticism and indifference to the plight of war victims.