2D Green's functions of defective magnetoelectroelastic solids under thermal loading