MagneticField: cmake cleanup
Cleanup of the cmake configuration of packages under MagneticField/:
- remove
atlas_depends_on_subdirs
- update link dependencies and removed unused external dependencies
- enable flake8 where applicable
- replace CLHEP units with
Gaudi::Units
- enable thread checker where it passes cleanly
cc @schaffer