Update to libmagic version 5.17, address BIT-1136.
Merge remote-tracking branch 'origin/topic/jsiwek/new-libmagic'

* origin/topic/jsiwek/new-libmagic:
  Update to libmagic version 5.17, address BIT-1136.