The basketball star, who turns 40 on Dec. 30, missed two games over an eight-day stretch away from the team