x86/oprofile: Fix initialization of switch_index