[3.0.x] extras: tools: backport patches for libtool/autotools/m4
Some of the patches (in particular the m4 bump) are needed to build VLC on latest MacOS release. Others are mostly to be able to cherry-pick future patches related to libtool/autotools.