pstats: add "origin" paramter to stats records

see also: https://github.com/rsyslog/rsyslog/issues/119