hal: fix ubsan overflow error during call screen and WFD concurrency

Underrun calculation in out_write can hit overflow errors, add input
validation to avoid these possible overflows.

Change-Id: I6dba27b7f209815abdb3121ca5096d2ee09eaf42
1 file changed