Fix an fd leakks.patch

Patch taken from OpenSUSE's pwgen package as
pwgen-2.06-fdleaks.patch

See
https://bugzilla.novell.com/show_bug.cgi?id=529521
for more info.