[U-Boot] [PATCH 1/9] cppcheck cleanup: fix nullPointer errors