Pep Guardiola has defended Bernardo Silva over allegations of racism following a tweet he posted about Manchester City team-mate Benjamin Mendy.