upgradedns: ensure lmdb lock files linked

Ensure that the '-lock' files for the dns partitions as well as the data
files are linked when running
  samba_dnsupgrade --dns-backend=BIND9_DLZ
failure to create these links can cause corruption of the corresponding
data file.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14199

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 0bd47914)
17 jobs for gary-bug-14199-v4-9 in 388 minutes and 37 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #398727159
shared docker
build_ctdb

00:16:22

passed #398727162
shared docker
build_others

00:10:32

passed #400501928
private docker
build_samba

05:01:33

passed #398727167
private docker
build_samba_ad_dc

01:27:01

passed #398727154
shared docker
build_samba_ad_dc_2

00:28:22

passed #398727160
shared docker
build_samba_ctdb

00:34:48

passed #398727166
private docker
build_samba_fileserver

00:20:14

passed #398727155
shared docker
build_samba_libs

00:32:23

passed #398727144
shared docker
build_samba_none_env

00:46:55

passed #398727146
shared docker
build_samba_nopython

00:23:40

passed #398727165
private docker
build_samba_nt4

00:37:24

passed #398727152
shared docker
build_samba_o3

00:33:29

passed #398727157
shared docker
build_samba_static

00:41:47

passed #398727149
shared docker
build_samba_systemkrb5

00:14:51

passed #398727150
shared docker
build_samba_xc

00:04:29

failed #398727164
docker private
build_samba

02:50:11

failed #398806783
private docker
build_samba

02:04:53