grid.h: add grid_cellMatchesavailable