work around perl bug where pads may be reused in cleanup after fork

During global destruction triggered by a explicit exit after forking,
perl may re-use the pad for try in a nested call in a DESTROY.  All
variables used must be explictly initialized to avoid this.
Merge pull request #9 from haarg/gd-fork-bug

work around perl bug where pads may be reused in cleanup after fork