[math] int32_rmat_*mult functions