Speed up some --list stuff with OpenCL formats. See #919.