Qatari government to buy 10% of local banks