Is it safe to shave off 1/8" from a load-bearing stud?
If trimming a small amount 1/8" - 1/4" off a stud in a load bearing wall is the ONLY option, then I would do that PLUS install another stud directly beside the cut one, and fasten them together -- this is called "sistering".

Good luck! :)