abrt-handle-event: don't use already freed memory

Closes rhbz#1045834

Signed-off-by: Jakub Filak <jfilak@redhat.com>