cortex a8: add missing error handling for mem_ap_read_atomic_u32()