Warning fixes for -weverything

- CFIndex casting
- NSInteger to NSUinteger
- Mark atomic property