libsystem: Don't hardcode page size

Signed-off-by: Alex Smith <alex@alex-smith.me.uk>