fix performance bug in assert

also fix round-trip value<->expression conversion of `nothing`

in codegen for `quote`, avoid generating jl_copy_ast calls for atoms