Use explicit template instantiation for bit depth conversion