erlang: respect disable-hipe option.

Closes #28239.