MDEV-6394: ANALYZE DELETE .. RETURNING fails with ERROR 2027 Malformed packet

- Add support for DELETE .. RETURNING statement in ANALYZE code.
Merge branch '10.1' of github.com:MariaDB/server into 10.1