Revert "Use compiler intrinsic instead of assembly for popcnt"