Fix AFSecurityPolicy unused variable warning when building for Release

Due to NSCAssert being ignored in Release builds.