NBA superstar LeBron James has condemned Kyrie Irving for publishing antisemitic posts on social media.