openat_proc_name: fix that last '/' is overwritten on OS/2 kLIBC