Import memzero macro from systemd, and use it

For all places we use memset(3), the constant "0" byte is used. Since
this is the common use case, we can use a macro from systemd to simplify
the code.