[PATCH v3 12/14] selftests/nolibc: prevent out of bounds access in expect_vfprintf