Near-infrared imaging polarimetry of HD 142527