rpcserver: Use func for semver string.
rpcserver: Use func for semver string.

This constructs the RPC API semantic version string from the individual
major, minor, and path constants versus requiring updates in both
places.  This is something contributors have previously forgotten to
update, so it makes sense to avoid the need to do it altogether.

decred/dcrd,decred/dcrd