Response of uranium-based heavy-fermion magnets to hydrostatic pressure