[PATCH 13/14] thread_info: move function declarations to linux/thread_info.h