[RFC] Homebrew: Compile as release build.

To avoid problems such as #1362.
Updated to CMAKE_BUILD_TYPE=RelWithDebInfo.