Gravitational Friedel oscillations in higher-derivative and infinite-derivative gravity?