Make legacy memories optional dependencies of SelfLocalization
This MR is part of the ArmarXSimulation MemoryX dependency removal.
SelfLocalization
will no longer have a hard dependency on the legacy memories and will only attempt to connect to them if the corresponding feature properties are enabled.