kern_thread.c: remove unneeded include of sys/param.h
(cherry picked from commit 53e0938b0b5619fa851e8550c2396bd8c440b7ae)