common: Add 'append_to_strlist_try' which can fail.
* common/strlist.c (append_to_strlist): Use the new function. (append_to_strlist_try): New function. * common/strlist.h (append_to_strlist_try): New prototype.
- Signed-off-by: Justus Winter <justus@g10code.com>