Fix SEGSEGV and GifDrawable's toString() method

The first fix is a big one. Fixes a crash related to using InputStreams in a multi-threaded enviroment.

The second one is minor, but makes GifDrawable properly report it's meta data.