[U-Boot] [PATCH 1/1] env: avoid possible NULL pointer access