Engineering buffer layers to improve temperature resilience of magnetic tunnel junction sensors