Fixes Error On Top Level Variable Assignment

Previously, errors would occur if the below code was run, as the iprofile.jl
assumed (a = 2) was the creation of a function.

@iprofile begin
a = 2
end