[RFC] Install only necessary dependencies for each build type.

Don't install unnecessary dependencies (e.g. jq, but not clang or doxygen for vimpatch report) to clean up the scripts and make builds a tiny bit faster.