[U-Boot] [PATCH v2 3/6] sunxi: board.c: refactor SPL header checks