panfrost: Copy freedreno's panfrost_get_compute_param