NVCC tweaks (mostly comments, but add -fmad=true) in Makefile.
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.