Expansion joint for high temperature gas with refractory lining made from insulating bricks