stmhal: Include MICROPY_HAL_H only if defined.

Helps other ports.