scripts/openbabel-python.i: Revert shared_ptr changes

This reverts part of ce178cbbd3182aa3ef5729d2133f497248cf5250.
Merge pull request #41 from Reinis/revert_shared_ptr_in_py

scripts/openbabel-python.i: Revert shared_ptr changes