Fixing a few more build errors

Typedef’d ‘CGTableCount’ to u_int32_t, and changed ‘CGMouseDelta’ to an
int32_t.