R: copy hclust code from stats package.

To avoid an R CMD check  warning about calling Fortran code
from another package. I translated the code from Fortran
to C, and put it in a new rinterface_extra.c file,
which will be the place of similar R-specific code
fragments.