Remove g_bitDepth; internal bit depth is always known at compile time

Simplify param->internalBitDepth checks, remove test bench hacks
cli: remove undocumented and unimplemented --depth CLI option