Backport libyaml regression fix to lucid

The fix for CVE-2013-6393 introduced a regression that's since been
fixed in precise.  This change backports that fix to lucid.
Merge pull request #26 from alphagov/libyaml_backport

Backport libyaml regression fix to lucid