On (conditional) positive semidefiniteness in the matrix-valued context