Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I0420394a1d105d7b0b1da8e63199665968213019