Buffett’s pledge to give away 99% of his wealth could eventually test Berkshire’s shield against activists