Unitarity bounds for gauged axionic interactions and the Green–Schwarz mechanism