Make read header in KeyValueStore use a shared_lock

- check the validity of read data after having verified the shouldRetry flag
Fix page cache usage in SortedKeyValueStore

- validate read data after having check the shouldRetry flag