Various memory fixes

- Fix: builtin types with pointer doesn’t work
- Fix: void* pointer object releases wrong memory
- Fix: make sure to delete NativeObject at release
- Add: native pointer params accepts null and zero
- Add: unsigned primitives on memory operation