common/env_nand.c: fix one more incompatible pointer type issue