On dual-weighted residual error estimates for p-dependent discretizations