devel/gitg: update to 41 and unbreak
While here:
- Add missing dependencies to appease stage-qa warnings
- Remove no-op post-patch target
PR: 272362
Approved by: kwm (maintainer timeout, >2 weeks)
MFH: 2023Q3
(cherry picked from commit db739c0e3510f564fe2fba015e5de0d1f8982abe)