WGS84 token fixes

Solves #627 
Not strictly necessary, but easier to read with parenthesis:

    if ((mdP->value != LOCATION_WGS84) && (mdP->value != LOCATION_WGS84_LEGACY))
    {
    }

Also, why not put the opening bracket on a separate line?