profiling: add function attributes

This should provide the Clang static analyzer with enough information to
stop reporting some false positives. The vim interpreter never passes NULL
values to arguments (to `f_`-functions).