Replace kernel_copy_stmt's base with shared memory address.

Set map of an array id in IDToValue to its corresponding shared memory
address so that we can create a correct share memory load/store.