ntdll: Use correct prototype for thread function.