yaml-cpp: add universal option

Closes #31353.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>