Fix infinite loop in ChunkedShareReader constructor. refs #1959

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>