Use attr_t instead of int for Curses attributes

This ensures colors always work with PDCurses, no matter how it is
compiled.