Fix null handling in reader GetValue

cc @bricelam