Add x86_ref_get_instruction_affected_flags to the external API.