Fix bug in base inertial parameters computation

Fix bug in revolute joint special rule for `MX` and `MY` parameters.