Some fixes in our calls to libjudy.

Adding bind(c) to the fortran interface to the c-layer subroutines and
some actual fixes in the c-layer. None of this seemed to actually cause
any issue but are improvements I did when trying to workout why libjudy
doesn't work with -O3 in CFLAGS.
Switch off aggr. loop optimisations in libjudy.

This is to workaround
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755099 when passing on
optimisation flags to libjudy.