[PATCH 3.18 45/50] fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links