databases/rrdtool: fix build with python module

(cherry picked from commit e545b33e45f84ffc4070ba24492cc6fff0041d1b)