Fix segfaults when parsing unsafe fns and proc types