cortex a8: add missing error handling for mem_ap_atomic_write_u32()