intel10g.lua: Split into more ordered sections.
intel.lua fix: add_receive_buffer() stored in wrong rxbuffers index.
intel10g: Updated the I/O API (buffer). Not tested!
lib.lua: Simplified protected() into bounds_checked().
intel.lua: fix in receive() - not tested yet.