Import upstream paatch which fixes build when KEESHARE is disabled.
PR: 236774
Submitted by: myself
Approved by: portmgr (blanket: bugfix, build/run fix)
Obtained from: https://github.com/keepassxreboot/keepassxc/commit/eb9ff677d0c681a86a9ef296f5a363549b94c42c