Use the `offsetof` function
I discovered this function existed in the C standard library fairly recently. ...so I thought why not try it out where we ought to be using it?
This is based on next
in case of any potential side effects that could affect netplay, given the only places I'm using the function atm are in netcode related areas of the source.