pagecache: calculate size of the write page cache dynamically

Make it be 1% of total available memory.

Signed-off-by: Gleb Natapov <gleb@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>