Shamsi inspires South Africa to one-run T20 win over West Indies