[U-Boot] [PATCH 2/2] fw_env: fix writing environment for mtd devices