Update pms_view.php

Fix the pagination issue with last post link (https://fluxbb.org/forums/viewtopic.php?pid=53846#p53846)