mesa: remove _mesa prefix from static function