Improve build time (edmCheckClassVersion and edmPluginRefresh)

A couple of minor changes to improve ROOT6 IB build times.