On the search for the electric dipole moment of strange and charm baryons at LHC