Credit-Rating Agencies Give HP Inc. Stable Outlook