[#3614737]Add -Wno-portability for automake flags

The gtk-doc.make generates a fatal warning with automake-1.14.