[libpinyin] define _GNU_SOURCE for getline()

getline() requires _GNU_SOURCE to be defined