[Cortex] Add preliminary support for core-dependent defines