[PATCH 6.1 251/473] lib/test_hmm.c: handle src_pfns and dst_pfns allocation failure