Theory on Thermal Instability of Binary Gas Mixtures in Porous Media