Microsoft plans to cut ‘thousands’ of jobs: source