maybe_tweak_LLc: generalise this so that it can mash more or less any
cache size and associativity pair into something the simulator can
actually handle, by increasing the associativity whilst reducing the
number of sets, so that the number of sets becomes a power of two.
Fixes #333501.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14469 a5019735-40e9-0310-863c-91ae7b9d1cf9
Fix function prototype as pointed out by clang.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14470 a5019735-40e9-0310-863c-91ae7b9d1cf9