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)
32 jobs for gary-bug-14199-v4-11 in 65 minutes and 21 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #398643557
shared docker
centos7-samba-o3

00:38:36

passed #398643542
shared docker
ctdb

00:35:52

passed #398643554
shared docker
debian9-samba-o3

00:34:48

passed #398643558
shared docker
fedora29-samba-o3

00:34:38

passed #398643559
shared docker
fedora30-samba-o3

00:34:00

passed #398643555
shared docker
opensuse150-samba-o3

00:36:58

passed #398643556
shared docker
opensuse151-samba-o3

00:37:40

passed #398643525
shared docker
others

00:14:29

passed #398643528
shared docker
samba

00:24:06

passed #398643549
samba-ci-private docker
samba-ad-dc-1

00:46:03

passed #398643535
shared docker
samba-ad-dc-2

01:05:20

passed #398643536
shared docker
samba-ad-dc-3

00:42:04

passed #398643537
shared docker
samba-ad-dc-4

00:57:06

passed #398643538
shared docker
samba-ad-dc-5

00:47:52

passed #398643539
shared docker
samba-ad-dc-6

00:37:45

passed #398643545
samba-ci-private docker
samba-ad-dc-backup

00:53:00

passed #398643544
shared docker
samba-ad-dc-ntvfs

00:45:13

passed #398643534
shared docker
samba-ad-member

00:27:37

passed #398643543
shared docker
samba-ctdb

00:21:15

passed #398643546
samba-ci-private docker
samba-fileserver

00:31:07

passed #398643548
samba-ci-private docker
samba-ktest-heimdal

00:14:27

passed #398643540
shared docker
samba-libs

00:37:13

passed #398643529
shared docker
samba-none-env

01:04:55

passed #398643530
shared docker
samba-nopython

00:37:50

passed #398643531
shared docker
samba-nopython-py2

00:43:24

passed #398643550
samba-ci-private docker
samba-nt4

00:51:43

passed #398643551
samba-ci-private docker
samba-schemaupgrade

00:34:03

passed #398643541
shared docker
samba-static

00:49:45

passed #398643532
shared docker
samba-systemkrb5

00:19:14

passed #398643533
shared docker
samba-xc

00:08:31

passed #398643553
shared docker
ubuntu1604-samba-o3

00:33:41

passed #398643552
shared docker
ubuntu1804-samba-o3

00:33:41