mca/base: ensure component version parameters get deregistered when the
component gets dlclosed

cmr=v1.8.2:reviewer=rhc
mca/base: make clang static analyzer happy

cmr=v1.8.3:reviewer=jsquyres