Merge pull request #2900 from harfbuzz/nodiscard-buffer

Mark buffer modification methods that can fail with nodiscard