(_IO_file_xsgetn): Allocate buffer if none is allocated so far.