[SQL] Make functionRegistry in HiveContext transient.

Seems we missed `@transient` for the `functionRegistry` in `HiveContext`.

cc: @marmbrus