gnupg: security update 2.0.22 -> .24, CVE-2014-4617

Close #3091.

(cherry picked from commit 99da7b85cbf72ac50b5217e4c8b06acfd7ef4b1b)