procfs: ensure that RLIMIT_IDENT is properly updated when a limit is added
(cherry picked from commit c84d8db0ab3d02f65422e8dcdc1f911cc15a04ec)