Use conjunction for libgd-dev profiles. The previous form <!stage1> <!stage2> would activate the dependency unless both profiles are given at the same time. We want either profile to disable the dependency though.