Add formula for libctl

Didn't see the comments in https://github.com/Homebrew/homebrew/pull/18468 until just now.
Also bump to 3.2.2.
This should be replaced with `depends_on :fortran`.