Give undefined constants their own binding kind (#56968)
As noted in
https://github.com/JuliaLang/julia/pull/56649#discussion_r1855089367,
there needs to be a separate kind for undefined constants, so we know
whether or not it is safe to call `partition_restriction`.