Enhance the custom memory allocation interface to allow the user to specify a calloc() function.
Reorganize code to remove a few of the branches introduced into the critical sqlite3DbMallocXXX() path by the previous commit.
Remove another branch from the DbMalloc() paths.
Further tweaks to malloc paths.