Workaround for Hive Generic UDFs with constant object inspector parameter