Compute base addresses from program headers while reading /proc/self/maps.