Rename defines and add a helper entry order for rsrc xattr
Implement ad_header_read_rsrc()