Fix mixing prepared statements between keyspaces

patch by David Sauer; reviewed by slebresne for CASSANDRA-5352