Deconvolution of azimuthal mode detection measurements