pdf: Return FALSE instead of NULL in gboolean function

Closes https://github.com/mate-desktop/atril/issues/30