Fixes to Coverity tasks : 73267, 72686, 72672
Cleaned up warnings, and added checks to malloc return values and error log writes in case of failures.
Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop