x86, bts: turn macro into static inline function