log: fix pmemlog_appendv() if iovcnt is less than 0

pmemlog_appendv() should return -1 and set errno to EINVAL
when vector count iovcnt is less than zero.

Ref: pmem/issues#19