MGM Resorts reports $1B operating loss in Q2