Girona defender David López has been handed a four-match ban for his derogatory comments made about a referee.