Fixed thread-safe singleton initializers.

Wasn't setting up the dispatch_once function properly. Fixed for BNRImageStore and BNRItemStore.