Anisotropic linear magnetoresistance in Dirac semimetal NiTe2 nanoflakes