Objective-C : Incorrect sizeof usage in malloc