[YaspGrid] Fix compiler error on GCC 4.4