Manipulation of topological spin configuration via tailoring thickness in van der Waals ferromagnetic Fe5−xGeTe2