env: clean env_onenand.c checkpatch and code style