Issue 11417 - rotate with immediate not recognized by optimizer

https://d.puremagic.com/issues/show_bug.cgi?id=11417