Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)