Catch OOM.

Former https://github.com/square/picasso/pull/273 with test.