[curl] fix build issue

N/A

Change-Id: I9f04470c3d10efb5e12b146b76d682c9a38fa0e7
Signed-off-by: xuyincheng <xuyincheng@xiaomi.com>