Revenue, Earnings Up for HP Inc.’s Third Quarter