Fix endian issue in std.bitmanip

BitArray uses an array of size_t elements but opEquals() and opCmp()
cast it to an array of ubyte elements. On a big endian architecture
the bytes are accessed in wrong order.
The solution is to always use size_t elements.
Merge pull request #1254 from redstar/endianbitmanip

Fix endian issue in std.bitmanip