libhwjpeg: add alternate function prototypes

* i9500 liboemcamera requires the class to export symbols that deal with
  buffers as char * types.