Tim Duncan’s fourth career triple-double helped the San Antonio Spurs bring the Memphis Grizzlies perfect home record to an end, with a 107-101 victory on Friday.