fixed cast(n,Int) and cast(n,UInt) in flash9 (close #2081)