fix(river): only retrieve river items that can be displayed

ref: https://github.com/Elgg/Elgg/issues/6022

* [ ] Add `Refs #...` to the footer of the commit message body
* [ ] Add test cases (at least stubs with detailed English description of how to implement them)
* [ ] Move to 1.9