Merge branch 'valgrind_lib' into 'master'

[SPI-1992]: set VALGRIND_LIB depending where shared objects are

See merge request !951

(cherry picked from commit 3f76ca6e)

f26d53e9 [SPI-1992]: set VALGRIND_LIB depending where shared objects are
4 jobs for cherry-pick-3f76ca6e-LCG_101-patches in 5 minutes and 17 seconds (queued for 25 seconds)
Status Name Job ID Coverage
  Test
passed cc7 #16631833

00:03:03

passed fedora30 #16631835

00:01:13

passed mac #16631836

00:02:55

passed ubuntu18 #16631834

00:01:29