Fix YAML/TinyXML patches for GCC versions older than 4.2

Updated the CMakeLists patches applied to the YAML and TinyXML source directories to exclude the `-fvisibility-inlines-hidden` flag for GCC versions older than 4.2.

Tested with GCC 4.1.2 and 4.6 on Fedora 15

Nathan