Strong Q1 results amid memory shortages and print decline give HP space to expand its OpenAI strategy before a CEO transition.