On the Second-order Directional Derivatives of Singular Values of Matrices and Symmetric Matrix-valued Functions