Bug 994907: imgDecoderObserver does reference counting on different threads, so should be using thread safe reference counting. r=seth,ehsan