MAINT: refactor packbits/unpackbits

Pushes the GIL release one loop outward.
But that would not normally force searching all the bytes, because most would be non-zeros. Darn.