improve logic of heap_type validation when ref.null
#7946
compilation_on_nuttx.yml
on: pull_request
Matrix: build_iwasm_on_nuttx
heap_type validation when ref.null
#7946