fix rotating image plugin for php5.5
fix rotating image plugin for php5.5

jerv13/RcmPlugins,innaDa/RcmPlugins,bjanish/RcmPlugins,bjanish/RcmPlugins,bjanish/RcmPlugins,jerv13/RcmPlugins,innaDa/RcmPlugins,innaDa/RcmPlugins,jerv13/RcmPlugins