security: allow to dump/restore if crid == rid

Currently non-root user can't dump/restore process if his id doesn't match
all rid, eid and sid at the same time. Since unprivileged user can't gain
process rights by restoring modified images, we can allow to dump/restore
processes if user_id == process_rid.