You need to set USE_MULTIPLE_CHIPS non-zero like this:
#define USE_MULTIPLE_CHIPS 1
I don't think it matters but you may want to remove the extra entries here:
// Multiple SRAM chips so use CS pin list.
uint8_t csPins[] = {9,8,7,6}; <-------REMOVE ,7,6 HERE
const uint8_t CHIP_COUNT = 2;
M23LCV1024 ram;
#else // USE_MULTIPLE_CHIPS