gs-app: Remove an unnecessary strdup call from size calculations
The hash table’s lifetime is shorter than the lifetimes of all the apps listed in it, so it’s OK to use their unique IDs directly.
This is a follow up to !1370 (merged).
Signed-off-by: Philip Withnall pwithnall@endlessos.org