Evidence for RKKY-type interaction in intermetallics, as derived from magnetic dilution of GdPdIn with Y or Th