AMD lowers third-quarter revenue forecast