omap4: cpuidle: optimize code path with macros