Use POSIX tolower(), toupper() and isupper() functions

In the code that rdataset_setownercase() and rdataset_getownercase() we
now use tolower()/toupper()/isupper() functions appropriately instead of
rolling our own code.
70 jobs for !5209 with 2788-use-tolower-toupper-isupper-from-ctype-h in 19 minutes and 6 seconds (queued for 8 seconds)
latest detached
Status Job ID Name Coverage
  Autoconf
passed #1821712
amd64 linux
autoreconf

00:00:17

 
  Precheck
passed #1821714
amd64 linux
clang-format

00:00:16

passed #1821715
amd64 linux
coccinelle

00:03:49

passed #1821716
amd64 linux
danger

00:00:15

passed #1821713
amd64 linux
misc

00:00:15

passed #1821717
amd64 linux
tarball-create

00:01:41

 
  Build
passed #1821730
amd64 linux
clang:asan

00:02:01

passed #1821733
amd64 linux
clang:buster:amd64

00:01:09

passed #1821736
amd64 libvirt
clang:freebsd12:amd64

00:01:16

passed #1821737
amd64 libvirt
clang:freebsd13:amd64

00:03:08

passed #1821738
amd64 libvirt
clang:openbsd:amd64

00:02:16

passed #1821732
amd64 linux
clang:tsan

00:01:12

passed #1821718
amd64 linux
gcc:alpine3.14:amd64

00:00:58

passed #1821729
amd64 linux
gcc:asan

00:01:38

passed #1821727
amd64 linux
gcc:bionic:amd64

00:01:05

passed #1821722
amd64 linux
gcc:buster:amd64

00:00:53

passed #1821719
amd64 linux
gcc:centos7:amd64

00:00:57

passed #1821720
amd64 linux
gcc:centos8:amd64

00:00:56

passed #1821728
amd64 linux
gcc:focal:amd64

00:00:57

passed #1821724
amd64 linux
gcc:out-of-tree

00:00:57

passed #1821723
amd64 linux
gcc:sid:amd64

00:01:07

passed #1821734
amd64 linux
gcc:softhsm2.4

00:00:53

passed #1821735
amd64 linux
gcc:softhsm2.6

00:00:56

passed #1821721
amd64 linux
gcc:stretch:amd64

00:01:04

passed #1821725
amd64 linux
gcc:tarball

00:01:03

passed #1821731
amd64 linux
gcc:tsan

00:00:58

passed #1821726
amd64 linux
gcc:tumbleweed:amd64

00:00:54

 
  Unit
passed #1821749
amd64 linux
unit:clang:asan

00:02:19

passed #1821752
amd64 linux
unit:clang:buster:amd64

00:01:26

passed #1821755
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:39

passed #1821756
amd64 libvirt
unit:clang:freebsd13:amd64

00:03:36

passed #1821757
amd64 libvirt
unit:clang:openbsd:amd64

00:03:17

passed #1821751
amd64 linux
unit:clang:tsan

00:04:13

passed #1821739
amd64 linux
unit:gcc:alpine3.14:amd64

00:01:32

passed #1821748
amd64 linux
unit:gcc:asan

00:02:02

passed #1821746
amd64 linux
unit:gcc:bionic:amd64

00:01:24

passed #1821743
amd64 linux
unit:gcc:buster:amd64

00:02:23

passed #1821740
amd64 linux
unit:gcc:centos7:amd64

00:01:34

passed #1821741
amd64 linux
unit:gcc:centos8:amd64

00:01:25

passed #1821747
amd64 linux
unit:gcc:focal:amd64

00:01:29

passed #1821744
amd64 linux
unit:gcc:sid:amd64

00:01:23

passed #1821753
amd64 linux
unit:gcc:softhsm2.4

00:01:24

passed #1821754
amd64 linux
unit:gcc:softhsm2.6

00:01:30

passed #1821742
amd64 linux
unit:gcc:stretch:amd64

00:00:20

passed #1821750
amd64 linux
unit:gcc:tsan

00:04:14

passed #1821745
amd64 linux
unit:gcc:tumbleweed:amd64

00:01:31

 
  System
passed #1821768
amd64 linux
system:clang:asan

00:14:33

passed #1821771
amd64 linux
system:clang:buster:amd64

00:12:21

passed #1821774
amd64 libvirt
system:clang:freebsd12:amd64

00:11:46

passed #1821775
amd64 libvirt
system:clang:freebsd13:amd64

00:13:32

passed #1821770
amd64 linux
system:clang:tsan

00:17:24

passed #1821758
amd64 linux
system:gcc:alpine3.14:amd64

00:12:44

passed #1821767
amd64 linux
system:gcc:asan

00:15:24

passed #1821765
amd64 linux
system:gcc:bionic:amd64

00:11:43

passed #1821762
amd64 linux
system:gcc:buster:amd64

00:14:07

passed #1821759
amd64 linux
system:gcc:centos7:amd64

00:12:40

passed #1821760
amd64 linux
system:gcc:centos8:amd64

00:12:03

passed #1821766
amd64 linux
system:gcc:focal:amd64

00:11:59

passed #1821763
amd64 linux
system:gcc:sid:amd64

00:12:07

passed #1821772
amd64 linux
system:gcc:softhsm2.4

00:12:10

passed #1821773
amd64 linux
system:gcc:softhsm2.6

00:12:15

passed #1821761
amd64 linux
system:gcc:stretch:amd64

00:11:49

passed #1821769
amd64 linux
system:gcc:tsan

00:17:09

passed #1821764
amd64 linux
system:gcc:tumbleweed:amd64

00:12:11

 
  Docs
passed #1821776
amd64 linux
docs

00:00:46

 
  Postcheck
passed #1821780
amd64 linux
cppcheck

00:00:36

passed #1821777
amd64 linux
flake8

00:00:17

passed #1821781
amd64 linux
gcov

00:00:34

78.0%
passed #1821778
amd64 linux
pylint

00:00:27

passed #1821779
amd64 linux
scan-build

00:04:08