affinity_test.sh: add cache drop before starting a test

This commit lets all I/O be flushed to disk and caches be dropped
before starting the fio-based test.