Always use generateBuildId if set explicitly (#99147)
https://github.com/vercel/next.js/pull/89325 changed the build id to be
a hardcoded constant if `config.deploymentId` is set (= skew protection
is enabled)
This was done as an optimization (more deterministic build outputs)
Instead, always use generateBuildId if set explicitly and only use the
new behavior if `generateBuildId` isn't set.
Closes https://github.com/vercel/next.js/issues/92154
---------
Co-authored-by: vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>