avoid passing negative addr into C, does not get cast back properly on Thumb. almost certainly fixes https://github.com/tessel/firmware/issues/107
Merge #636 r=@jiahuang: Calculate unsigned IP addresses

Almost certainly should fix https://github.com/tessel/firmware/issues/107.