Jailed former Thai Prime Minister Thaksin Shinawatra has been ordered to pay back taxes over the sale of his telecoms firm.