Separate the {to, cmd} arguments from Actor:send method.

Signed-off-by: Xiongfei(Alex) Guo <xfguo@credosemi.com>