logger: Fix error handling if unable to find srt-logger
If we can't find our own executable, we need to set local_error and then propagate it to error, instead of setting error directly: otherwise the error-handling code path below will be wrong.
Relatively minor issue, we don't actually expect this code path to fail under any normal circumstances.
/cc @refi64