[U-Boot] [PATCH v4 5/9] lzo: add a function to check the validity of the header