[coreboot-gerrit] Patch merged into coreboot/master: lib/nhlt: add helper functions for adding endpoints