Fixed #1300 clang warning in SWIG_Python_ConvertPtrAndOwn.
Revert "Fixed #1300 clang warning in SWIG_Python_ConvertPtrAndOwn."

This reverts commit 8e340c158c41ee053fd2be2f30b47e9a060515c9.
MOdified only no-cast-rank version of SWIG_AddCast.
Macro expansion to self assign is effectively ignored.
Merge pull request #29 from xantares/master

Fix clang warning due to SWIG_AddCast macro (SF#1300).