theme.h: add missing prototypes

Fix for implicit function declarations by Dominique Leuenberger