Ensure that rootcling is built from object files (object libraries) instead of shared libraries to avoid core dumps. It should fix issue ROOT-6276.