completion: Fix non initialized variable when retrieving header types.