Bloat the API a bit less

Since MySQL warnings only appear in groups in the wild, we don't need to
export the struct for a single warning.
The details are still accessible:
if mws, ok := err.(mysql.MySQLWarnings); ok {
_ = mws[0].Code
}