pass_gen.pl: Only require libs that are actually needed for specific run.
Fix an obscure bug in mscash where an overlong key would truncate
to 28 instead of 27 in UTF-8 mode. NT already had a fix for it so
unify the code for them.
Cosmetical fixes in common-opencl.c.
Merge branch 'bleeding-jumbo' into memdbg

* bleeding-jumbo:
  Cosmetical fixes in common-opencl.c.
  Fix an obscure bug in mscash where an overlong key would truncate to 28 instead of 27 in UTF-8 mode. NT already had a fix for it so unify the code for them.
  pass_gen.pl: Only require libs that are actually needed for specific run.