GCC 4.2: Fixed compilation problem in row_major metafunction.

This fixes the compilation problems on MacOS X 10.6.8 (Snow Leopard)