asapi_07: fix data types

The test always fails because some data types are wrong.

Signed-off-by: Simon Xu <xu.simon@oracle.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
sendmsg01: fix test for invalid to buffer

We should set a valid to buffer length to test for invalid to
buffer, and invalid buffer should return EFAULT.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Reviewed-by: Jan Stancek <jstancek@redhat.com>