libmemhack: PIE: support multiple code offsets

For now we send for all configured dynamic memory classes the same
code offset. But this is a PIC preparation.