Bug 1079311 - Unlock mutex before logging error in RegisterContractIDLocked. r=bsmedberg