Fix to bug 487: http://bugs.skysql.com/show_bug.cgi?id=487

Changed all arithmetic operations on raw void pointers to properly use uint8_t pointers instead.