[TASK] Remove empty table at end of list output

Page module, filelist module and element browser are calling
writeBottom() which just adds an empty table which is not needed.

As the function could be used by 3rd party, the function is
deprecated

Releases: 6.2
Resolves: #49593
Change-Id: Iab6af693eda0bec54e3645ec784d2010e751117a
Reviewed-on: https://review.typo3.org/21803
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters