Support array subscription

Support to read from c array subscription and write to c array
subscription, in which c array is the result of ffi.new call.

Signed-off-by: Yicheng Qin <qycqycqycqycqyc@gmail.com>