TS-2469: remove libreadline which is gpl licensed

Signed-off-by: Zhao Yongming <ming.zym@gmail.com>