shared.scripts: Add a tool for setting 0 to memory.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>