[ios] Add NDEBUG for release.