Update smallpt.go

modify a little to make it compatible with Go 1.1
Merge pull request #1 from fxsjy/patch-1

Update smallpt.go to compile with Go 1.1