Fixes #31293
When using -bind=0.0.0.0:port or -bind=[::]:port (or their -whitebind equivalents), the Discover() function was not being executed because bind_on_any was set to false when explicit bind addresses were provided.
This meant that nodes using explicit “any” bind addresses would not discover and advertise their own local addresses to peers, even though they were effectively listening on all interfaces.
This commit checks if any of the explicitly provided -bind or -whitebind addresses are “any” addresses (0.0.0.0 or ::) and ensures Discover() runs in those cases, matching the behavior when no explicit bind is given.