There is no fault on the player. No one would care if the fans gave the player general abuse and he would be at fault if he was trying to rile them up.
However, the fans are 100% at fault for giving racist abuse.
The fact that Leonardo Bonucci thinks it is partly the players fault, shows how ingrained the racism is in Italy.