Holographic anyons in the ABJM theory