Speed up creating RLMRealm instances on background threads

Cuts the init time when there's a cached RLMRealm for a different thread from
3ms to 1.2ms.