env_mmc: fix buffer allocation for armv7