qtgui: fixed an issue with the number sink mistreating non-float inputs.

Dealing with ints will require an api change.