[U-Boot] [PATCH v1 3/5] env: unify logic to check and apply changes