Remove -Z no-opt flag.

Closes #13649