proc: fix proc_dir_entry refcounting