tools/env: ensure environment starts at erase block boundary