build: initial work to support Solaris symbol versioning
build: further work to support Solaris symbol versioning

Additionally, ensure we check uniqueness of the pmcd domain
number using the mechanism all other PMDA makefiles use.