(Reuters) - Red Hat Inc reported a better-than-expected quarterly profit and raised its full-year forecasts, driven by strong demand for the company's products that help make the transition to the cloud.