ptrace: Add option to skip solib parsing

Some sort of strange bug sometimes occurs, so add a workaround.