cmd/compile/internal/ssa: put ssa.Compile behind an interface