Modernized gntshr_stubs.c
Updated test_gntshr.ml, exhibiting a bug in libxc.