Unfortunately the suggested fix breaks compatibility with previous versions of GNAT (as recent as GNAT CE 21).
I get (trying with both 'N' and 'n'):
gnatcom-initialize.adb:85:1: undefined reference to __sync_fetch_and_add_N
gnatcom-initialize.adb:85:1: undefined reference to __sync_fetch_and_add_n

Perhaps it is better to try disabling the warning?