Tweaks and fixes for G18

Memory model is now 16 MiB for primary bootloader followed
by 16 MiB for the diagnostics program.

It will be located in the end of the G18 flash image (MSB = 11).