Fixing XMOS linker errors caused by stricter checks

Mainly extern const not marked as const