Fix some bugs in postprocess-images.c

Following things are fixed
- PageHeader field is set incorrecly
- compilation fix