Added runtime check for imageWithRenderingMode: to prevent crash in iOS ...

Added a runtime check for the iOS 7-only imageWithRenderMode: method