[PATCH 6.12.y] proc: fix the issue of proc_mem_open returning NULL