perl-gd: fix broken patches

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>