pahole: Allow skipping the emission of atomic typedefs

Just in case we find some compiler that doesn't like pahole generating
those typedefs, that are not present in the DWARF info at least with gcc
12.

Testing it:

  $ type=oftable ; pahole -C $type --compile eelco/ovs-vswitchd_rhel8   > vswitchd_rhel8.c ; echo "static struct ${type} data;" >> vswitchd_rhel8.c ; gcc -g -c vswitchd_rhel8.c -o vswitchd_rhel8.o |& head
  $ grep "typedef _Atomic " vswitchd_rhel8.c
  typedef _Atomic unsigned long atomic_ulong;
  $ type=oftable ; pahole --skip_emitting_atomic_typedefs -C $type --compile eelco/ovs-vswitchd_rhel8   > vswitchd_rhel8.c ; echo "static struct ${type} data;" >> vswitchd_rhel8.c ; gcc -g -c vswitchd_rhel8.c -o vswitchd_rhel8.o |& head
  vswitchd_rhel8.c:155:9: error: unknown type name ‘atomic_ulong’
    155 |         atomic_ulong               n_matched;            /*   224     8 */
        |         ^~~~~~~~~~~~
  vswitchd_rhel8.c:156:9: error: unknown type name ‘atomic_ulong’
    156 |         atomic_ulong               n_missed;             /*   232     8 */
        |         ^~~~~~~~~~~~
  $

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2 files changed