Disable the "Go to First/Last Page" buttons when the first/last page is currently active

Since the "Previous/Next Page" buttons are disabled when the first/last page is active, I think that for the sake of consistency the "Go to First/Last Page" should behave the same way.
Merge pull request #5175 from Snuffleupagus/disable-first/last-page-buttons

Disable the "Go to First/Last Page" buttons when the first/last page is currently active