SmartPtr casting BUGFIX (mrpt-base)
Cont. SmartPtr refactor