fix router is nil inside out_copy

Fix https://github.com/fluent/fluentd/issues/507