Add mask_to_mirrored_num

This PR moves `mask_to_mirrored_num` to `photutils.utils.interpolation` from `imageutils`.