Fix race condition in UIImageView+AFNetworking

Fix for issue https://github.com/AFNetworking/AFNetworking/issues/725

This seems like the best fix.