Remove unused spinlock code
Move declaration of mordax_resource_destroy() from mordax-ipc.h to mordax.h