ctest_memcheck: Fix sanitizers when MemoryCheckSanitizerOptions is empty

Status Job ID Name Coverage
  External
passed kwrobot-branch-check