Update AtomSpaceWrapper.cc

updated deprecated 'shared_dynamic_cast' to 'dynamic_pointer_cast' to support latest boost versions