Add HALIDE_FUNCTION_ATTRS decorator to generated function prototypes

This allows (e.g.) __attribute__((warn_unused_result) to be specified
on Halide calls.