srm: Clean up srmReserveSpace and srmReleaseSpace implementations

Addresses correctness issues in return codes and
improves error messages.

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6125/