Fixes #6812 : change Paginator::getItemsByPage($pageNumber) handle AbstractResultSet

Fixes #6812 
I'd say it is a bug in `DbSelect` then, since it does not respect the interface specification.