Remove extraneous $wpdb globalization

There were a handful of functions containing legacy $wpdb globals.  These can be safely removed.
Merge pull request #3532 from JustinSainton/silly-wpdb

Remove extraneous $wpdb globalization