BPMemory: Fix GenMode using an incorrect number of bits for the number of color chans.