Put LLDB-specific flags back under `ifeq ($(BUILD_LLDB),1)`

where they were before #9263