Fix performance issue in BlockCache due to an instance of std::vector in every block:

Avoid creating the vector when not necessary.

This was especially noticeable in debug mode.