lzo: properly check for overruns