emulate popcnt64 for 32bit mode