Bug 1058168 - Tolerate a null PerThreadData runtime in runtimeIfOnOwnerThread(), r=luke.