shmem: update memory reservation on truncate