[PATCH 2/4] dwrite: Use BitScanForward instead of dwrite_ctz.