Goldman Sachs has fended off a shareholder challenge that could have forced CEO Lloyd Blankfein to give up his other post of chairman.