nflog_cffi: wrap libnflog calls with error-checking in a more transparent manner