crt: Make pragmas for ignoring -Wattribute-alias into a reusable macro

This encapsulates the condition for in which cases the pragmas
are enabled, and allows easily using them in more locations.

Signed-off-by: Martin Storsjö <martin@martin.st>
2 files changed