[coreboot-gerrit] Change in coreboot[master]: tests/lib/memchr-test: Fix possible memory overrun, add non-null checks