parisc: simplify detection of memory zone boundaries