srm: srm,dcap: Use configured vomsdir and capath

Fix build failure after commit 7f39db9755cd151cbce2ac38f6ecdea3df5c40d3.

Patch: none