Add macros to mark branches as likely/unlikely

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Mark error cases of array access unlikely

Signed-off-by: Stefan Marr <git@stefan-marr.de>