preload: Include unistd.h to pick up close() definition
preload: Set iov_len to correct value when sending uevent property list

Fixes valgrind error (correctly) complaining about msg.iov[1] pointing to uninitialised bytes.