Add a helpful error message for installing ncurses-devel in case
the build fails while building julia-release-readline.

fix #2799