smartplaylists: fix generated SQL query for multi-value rules with a negated parameter (fixes #15313)

This is the backport of #5230 for Gotham. It fixes http://trac.xbmc.org/ticket/15313.