Remove PAGE_SIZE from hastd
It may not be known at compile time so we should detect it at run time.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35118
(cherry picked from commit ea578b34cb35505e7253c4d8f279fed1d38380ee)