Implements hook_og_invoke_node_access_acquire_grants_alter() to work with OG.