DRI/haiku: Remove damaging cast