Linear stability for a thermoelectromagnetic material with memory