angband: fix Linux build
angband: fix Linux build

Current binary doesn't link to ncurses, so it exits immediately without displaying the game UI.

Before:
```
$ brew linkage angband
System libraries:
  /lib/x86_64-linux-gnu/libc.so.6
  /lib/x86_64-linux-gnu/libm.so.6
```
After:
```
$ brew linkage angband
System libraries:
  /lib/x86_64-linux-gnu/libc.so.6
  /lib/x86_64-linux-gnu/libm.so.6
Homebrew libraries:
  /home/linuxbrew/.linuxbrew/opt/ncurses/lib/libncursesw.so.6 (ncurses)
```

Also improved test to actually run the UI.

Closes #103626.

Signed-off-by: Michka Popoff <5d406f95fb0e0230f83654e4a22d0115cc205d59@users.noreply.github.com>
Signed-off-by: BrewTestBot <8a898ee6867e4f2028e63d2a6319b2224641c06c@users.noreply.github.com>

filcab/homebrew-core,lemzwerg/homebrew-core,zyedidia/homebrew-core,nbari/homebrew-core,filcab/homebrew-core,adam-moss/homebrew-core,stgraber/homebrew-core,Homebrew/homebrew-core,makigumo/homebrew-core,chrisfinazzo/homebrew-core,zyedidia/homebrew-core,lemzwerg/homebrew-core,nbari/homebrew-core,sjackman/homebrew-core,adam-moss/homebrew-core,nandub/homebrew-core,makigumo/homebrew-core,stgraber/homebrew-core,sjackman/homebrew-core,nandub/homebrew-core,Homebrew/homebrew-core,chrisfinazzo/homebrew-core