Correctly read truncated las files

If a truncated files is detected, reset the total number of points to
the number which was actually read (to avoid uninitialized points), and
issue a warning.