shadow uses a copy of m4 from gtk-doc so we need to apply the same fix as in 407db7b0. Also patch it to use the correct DocBook version.