srm-client: fix building of tagged RPMs

The master and 2.7 branches contain code to build the srm-client RPMs when
dCache has a "-SNAPSHOT" in the version (e.g., "2.7.0-SNAPSHOT").  The "-"
is illegal in the RPM name and the build-helper maven plugin is used to
remove it (to "2.7.0SNAPSHOT").

Tagged versions of dCache code do not contain the "-SNAPSHOT", so
the regexp in the build-helper maven plugin has nothing to replace.
Unfortunately, a failure to match results in the build process failing.

This patch fixes the problem by making the replacement optional.

Target: master
Request: 2.7
Requires-notes: no
Requires-book: no
Patch: http://rb.dcache.org/r/6242/
Acked-by: Gerd Behrmann
Merge pull request #299 from paulmillar/fix/2.7/tagged-srm-client

srm-client: fix building of tagged RPMs