Custom transformations should throw on main thread.

https://github.com/square/picasso/issues/272