libproc tests: allow dollars in identifiers for gcc
Older versions of gcc require the -fdollars-in-identifiers option to
compile the target of the libproc test, otherwise it will complain about
the $qux identifier used.
Direct commit to stable/12, since that still has gcc 4.2.1, and later
versions of gcc do not complain by default.