[PATCH 6.6 602/744] um: Fix the -Wmissing-prototypes warning for get_thread_reg