(Reuters) - Oracle Corp reported a better-than-expected quarterly profit on Thursday as the business software maker's years-long efforts to switch to the cloud helped boost revenue.