Removing some SAFE_NEW, replacing with regular malloc/calloc, changing nsf_chipExtensions to uint8_t instead of bitfield for portability