[YaspGrid] Fix compilation problem on GCC 4.4