Bug #17729 patch, part 2: limited define_syslog_variables calls to php versions earlier than 5.3.0