Cleans up unused (orphaned) media items from a given database to free allocated disk space