InDetOverlay: Fix some odr-violation warnings in the lto build.
In unit tests, need to include TrkObjectCounter.h before doing #undef NDEBUG; otherwise we have an odr-violation.
In unit tests, need to include TrkObjectCounter.h before doing #undef NDEBUG; otherwise we have an odr-violation.