[OS-BUILD PATCH 12/20] redhat: take with_dbgonly into account when collecting variant files