Thow exception if rendering non-HAL-enabled object

Protect against the programming error of having an attribute of a
HAL-enabled object pointing to an embedded resource which itself is not
a HAL-enabled object. This is done by checking for the existence of the
_hal_raw method, which is assigned by attach_HAL_support.