Don't break on nil global_privs

Fixed a logic error in mysql_database_user calls if a privilege value is nil.