[PATCH for-4.14 1/2] btrfs: compression: add helper for type to string conversion