Fix unused variables errors in Pixhawk build

Pixhawk dialect is broken (TeamCity builds APM default APM dialect)