Anchoring-Mediated Interaction of Edge Dislocations With Bounding Surfaces in Confined Cholesteric Liquid Crystals