HPSW: Fix soft-deprecated APIs warning

Change-Id: I2f69781972fe2737e09d275dc842c4ea744e7fb1
Reviewed-on: https://code.wireshark.org/review/4952
Reviewed-by: Evan Huus <eapache@gmail.com>