Do not add client entries for route handlers if `dynamicIO` is disabled
To enable `"use cache"` in route handlers, we started generating client
reference manifests and client chunks for route handlers in #70897.
This is currently not required if `dynamicIO` is not enabled, so we can
skip the additional work during builds.