sgi-xp: use standard bitops macros and functions