fixed bug in spn_vm_addlib_* functions

I added a check so that an old library/module is not deleted a when new one is added with the same name.
Definitely. That's why I've pushed a commit immediately after this one :) https://github.com/H2CO3/Sparkling/commit/e65cfbf03297717d639b337d7cbd3f69e2eb6091