static_array: Fixed unused variable warning.

Showed up in release build with GCC 4.6, where assert() gets preprocessed away.