tools/smaz: add support for base-4096 variant