Use sysconf() instead of compile time constant for page size

Use more portable sysconf() call than compile time constant PAGE_SIZE
for setting initial bytes per pixel value in calc_pix_size().

Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>