Update imagerotate.cpp