science/afni: Use BUILD_DEPENDS/RUN_DEPENDS instead of LIB_DEPENDS for
math/R, because R may be configured without libR.so
Also, after some planned changes ${PREFIX}/lib/R/lib will not be registered
with ldconfig. While here, fix some stage-qa warnings about indirect
dependencies.