databases/mongodb42: add LTO option and enable it
Add a new option, for using LTO.
As with mongodb44, make it the default.
mongodb42 tries to used gold with LTO enabled, so explicitly tell it to use lld.
PR: 253802
Approved by: ronald-lists@klop.ws (maintainer)