[PATCH 4.14 089/107] fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links