Oracle loses appeal of ruling in Hewlett-Packard suit