The company’s earnings surprise was driven partly by increased demand for high-margin products. GlobalFoundries says the auto ...