Fix segmentation fault observed on OpenBSD/sparc64

A non-readable mapping of a file causes an access violation in
the pack tests. Always use PROT_READ to work around this.

---

Computers are weird. It doesn't hurt to always map at least readable. I'm :+1: on this but am biased as I'm sat next to Stefan.