Fix CFLAGS in config.lib with respect to profiling
(openttd r26735) -Fix (rmakefilerewrite): for profiling CFLAGS got a
-p (for prof) and LDFLAGS got -pg (for gprof), but in the end gprof
would be used (via make run-prof). Furthermore -pg isn't compatible
with -fomit-frame-pointer on certain architectures (most importantly
x86(_64)), so simply don't enable that flag when profiling is
enabled
(openttd r26737) -Fix (r26735): one = too many... why can't all
languages use the same basic definition for comparisons?