Make filter tail-recursive

Function `filter` (in `piclib/srfi/1.scm`) is now tail-recursive.