change the behavior of Buffer.add_channel on channels not containing enough elements

See [mantis issue](http://caml.inria.fr/mantis/view.php?id=6719).