[SeaBIOS] [PATCH 5/5] Refactor hash_log_extend_event