Check for Mnesia node name mismatches

Log a proper error message if the node running ejabberd doesn't own the
Mnesia database.