Fix permissions in prepare-dirs

Set group of $(dirname -- $ICINGA2_PID_FILE) to $ICINGA2_COMMAND_GROUP to allow access to $ICINGA2_RUN_DIR/icinga2/cmd/icinga2.cmd