Bug 957458: Fix several bugs in the lock rank checking code. In particular, don't create or access the per-thread lock stack if the lock has no lock rank. r=kaie.
Bug 957458: Fix several bugs in the lock rank checking code. In
particular, don't create or access the per-thread lock stack if
the lock has no lock rank. r=kaie.

thespooler/nspr,thespooler/nspr,thespooler/nspr,thespooler/nspr,thespooler/nspr