AMD takes $800 million hit tied to U.S. export restrictions