Medium: ocf-shellfuncs: set HA_LOGD depending on HA_use_logd

The retired lrmd used HA_LOGD, the latter development in
pacemaker dropped that variable. This ensures compatibility with
heartbeat and older installations.
Merge pull request #506 from dmuhamedagic/set-ha-logd-variable

Medium: ocf-shellfuncs: set HA_LOGD depending on HA_use_logd