Rename getline to getLine

Because the function 'getline' may be defined on a posix environment, it seems to be better to rename this. In fact, Mac OS X 10.8 needs this change to compile bdf2bmp.