compilation fixes for 2.065

- overload of findNextUDA is ambiguous

- __traits getFunctionAttributes isn't available
Both conditions are mutually exclusive, so this is dead code.