Remove extraneous $wpdb globalization

There were a handful of functions containing legacy $wpdb globals.  These can be safely removed.