cmake: fixed GCC shared_ptr test
shared_ptr: removed Clang conditional now that Clang builds use boost::shared_ptr
Shared pointer fixes

* Removed unnecessary Clang has_feature check
* CMake doesn't run HAVE_SHARED_PTR test if USE_BOOST_SHARED_PTR option is used