[PATCH 6.9 193/374] um: Fix the -Wmissing-prototypes warning for get_thread_reg