Black holes in five-dimensional Palatini $f(R)$ gravity and implications for the AdS/CFT correspondence