Rename PAGESIZE to SPL_PAGESIZE - musl compat

i renamed PAGESIZE to SPL_PAGESIZE to make it compile against musl instead of glibc. needs some cleaning up like adding to configure etc. but wanted to share this early.