fdesc_allocvp(): fix potential use after free
(cherry picked from commit 51b8ffb95c4fe45f6825d551bd093889820a8115)