AMD beats on sales and profit but warns of a 10% revenue decline in Q1