native: set _native_pid correctly in daemon mode

This fixes a bug that leads to all unix sockets being created as
`/tmp/riot.tty.0`.

This is cherry picked from #1214