[mac] revert 3a186da since it is fixed in qt upstream

  - report is availabe at QTBUG
    https://bugreports.qt-project.org/browse/QTBUG-10899
  - eliminate compiler warning about deprecated usage of objc_class