vppinfra: fix longstanding corner case bug in serialize_get()