Microsoft offers buyouts to 7% of US staff to curb costs