fix getColumns() for Buildroot

same behaviour in ncurses (drv_size() in tinfo/tinfo_driver.c)
Merge pull request #31 from fperrad/buildroot

fix getColumns() for Buildroot