When running valgrind, the third argument is read implicitly from
the stack, resulting in an EINVAL return from the fcntl(). We should
explicitly be setting the third argument to zero to ensure that we
don't break valgrind.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>