bug2issue: Fix github reply parsing error issue

There is an issue in parsing github returned HTTP json reply, this is because
there is no EOF indicator (the \0) added by bug2issue CURL write callback.
This patch fixes this bug.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>