Nearly all of high-street giant Marks & Spencer's shareholders have given the green light to a plan that would provide them with up to £2.3 billion worth of share buybacks.