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