Fix problem with overriding SEPARATE_DOC_TESTS variable.

Refs #9639