Effect of rotation on thermal instability of a viscoelastic fluid