[pvr] add missing database close call

Picked from https://github.com/xbmc/xbmc/pull/4395