(Reuters) - Oracle Corp reported a better-than-expected quarterly profit on Thursday, in the latest indication that the business software maker's shift to cloud is gaining traction after years-long effort.