core: Take page offset of config data into account when mapping the data

We have to take the offset of the configuration data on the first page
into account when calculating the mapping size. Otherwise we may fail to
map its last page.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>