powerpc: Work around gcc bug in current_thread_info()