Use SIMD instructions for bitwise operations (gcc specific).

* Avoid case overhead by generating BITWISE_FUNC vs. BITARRAY_FUNC.
* Change type of zero and one to (unsigned char) due to compiler complaining of
  overflows on -pedantic. Also added static to help out the compiler more.