x86/oprofile: replace macros to calculate control register