[SeaBIOS] [PATCH 4/5] Refactor hash_log_event BIOS interface function