grid: add grid layout patch and add to config.def.h

Signed-off-by: Brendan Le Foll <brendan@fridu.org>