tools: socfpga: fix sfp_verify_header