databases/rrdtool: fix build with lld 17
Some symbols in the linker version script librrd.sym are undefined when
the CACHE option is off. Suppress errors with lld >= 17 due to these
undefined symbols.
PR: 273753
MFH: 2024Q1
(cherry picked from commit 2ed094adef32cc683a9a077f1c8eb2241754068a)