[PATCH] x86_64: Optimize bitmap_weight for small bitmaps