Migrate skip checks to --EXTENSIONS-- for ext/gd Cf. PR #6787. Closes GH-6994.
Fix #79067: gdTransformAffineCopy() may use unitialized values We port <https://github.com/libgd/libgd/commit/7a06c1669c563917bc48c464521e3de962ddb4e8>.