FindYamlCpp.cmake: check the availability of the new 0.5 API.