Sanity check in hfa_get_header