Update SDWebImageCompat.h

Undefine macros before define to prevent warning on iOS
Merge pull request #401 from docallag/master

Prevent warnings on iOS