A police officer attached to Queensland’s corruption watchdog has been charged in relation to accused lawyer Adam Magill’s court appearance.