Fix overload resolution to handle pointer arg up-casting again

(8d8df7ad regression)
http://www.freebasic.net/forum/viewtopic.php?p=197506#p197506