Add dose patch for clean exit on solver errors

Source: https://gforge.inria.fr/plugins/scmgit/cgi-bin/gitweb.cgi?p=dose/dose.git;a=commit;h=3d9b403766e7741e84fb648dde7867dd6f869b38
Closes #1202
Merge pull request #1216 from OCamlPro/fix-cudf-lock

Add dose patch for clean exit on solver errors