Update libpnet for 0.12.0 changes

This fixes a number of warnings and issues with the current version.