make malloc(0) return unique pointers rather than NULL