Fix warnings when not using ARC

Check if ARC is disabled and if so, call [super dealloc] when needed.