(BUG) unrealheadertool bug when including a file twice

the same issue happens after 4.23 upgraded to 4.24 but header file has “#pragma once”