Fix -y and ASSUME_ALWAYS_YES in pkg annotate

This is related to the test fixing in #957.
I'm not sure why `query_tty_yesno` exists or why pkg-annotate is special enough to be the only consumer. `query_tty` already handles the `yes` global.