srm: Fix deadlock in pinning

Another case of me being too optimistic about how much or how little
happens in a message callback. In this case pinning uses the remote
pool monitor, which may tricker a fetch from pool manager.

Target: trunk
Request: 2.9
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6979/
(cherry picked from commit d90196a5a324363943bd26b9bafefc2d197f6184)
Merge branch 'fix/2.9/rb6979' into 2.9-ndgf