guile: fix crash in function hdata_move
ruby: fix crash in function hdata_move