shmem: minor fixes to splice-read implementation