Microsoft has announced another round of layoffs, affecting staff in its gaming, security, and sales divisions.