[NTOSKRNL] Replace ExGetRunRefForCurrentProcessor() by a more generic function