Issue #3533299: Deprecate node access rebuild functions
Added a new NodeAccessRebuild service with methods needsRebuild and rebuild replacing node_access_needs_rebuild() and node_access_rebuild() respectively.
Updated all internal calls (core and tests) to use the service-based API instead of deprecated functions.