Return nil from SDScaledImageForKey if the input image is nil. Replaces #750. Fixes #365