Fixes an issue introduced by 73b49d43. When PrefixDelegationHint= is not set, dhcp6_option_append_pd() sets wrong length for IA_PD option, as `r` is `-EINVAL`. Fixes #19021. (cherry picked from commit fa92d384)