parser: compare the ext attributes too when comparing types

This now produces an error as it should:
  int far x;
  int x;